Benutzer Diskussion:PerfektesChaos/js/lintHint/2017

aus Wikipedia, der freien Enzyklopädie

Tidy bug affecting font tags wrapping links

The tool is great! But it doesn't seem to detect the new Tidy bug affecting font tags wrapping links. Anomalocaris (Diskussion) 22:42, 31. Okt. 2017 (CET)

Thank you for applause and the hint.
The tool requires an update for new categories, if they shall be presented nicely.
The reason is that system messages are to be requested explicitly by identifier, in order to show translated texts.
You may fire the later option; then you get all categories, no matter whether a description is available or not.
I communicated the new category now.
Greetings --PerfektesChaos 10:33, 1. Nov. 2017 (CET)

I don't undertand how to the later option, or any other option. You explain,

mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&bcache=1&maxage=86400&ctype=text/javascript" );

If I want to pass two parameters, can I say:

mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&bcache=1&maxage=86400&ctype=text/javascript" later=true oldid=true);

Anomalocaris (Diskussion) 11:37, 2. Nov. 2017 (CET)

Please see en:User:PerfektesChaos/js/lintHint #configJS.
At any time, but best before loading via mw.loader.load, you may send messages to the tool.
If you limit yourself to later, it will be sufficient to issue
mw.hook( "lintHint.config" ).fire( { later: true } );
Browsers offer various means to launch such things, not only by your wiki page.
A more casual approach is the suggestion on page:
var myLintHintOptions = { };   // call this baby as you like it
myLintHintOptions.later = true;
myLintHintOptions.oldid = true;
mw.hook( "lintHint.config" ).fire( myLintHintOptions );
The latter format makes it easier to maintain and switch particular values.
Greetings --PerfektesChaos 12:06, 2. Nov. 2017 (CET)
Archivierung dieses Abschnittes wurde gewünscht von: PerfektesChaos 13:43, 16. Dez. 2019 (CET)