User talk:JackPotte/smart patrol.js

This is an archived version of this page, as edited by Automatik (talk | contribs) at 18:04, 4 June 2018 (Created page with "== Suggestion: avoid adding the link in special pages == Hi user:JackPotte. If the following code : <source lang=javascript>if (mw.config.get('wgNamespaceNumber') >= 0) {..."). It may differ significantly from the current version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

edit

Hi JackPotte. If the following code :

if (mw.config.get('wgNamespaceNumber') >= 0) {}

is added around mw.loader.using(), this would allow not to display the link in special pages. I guess it would be better. Regards, — Automatik (talk) 18:04, 4 June 2018 (UTC)Reply

Return to the user page of "JackPotte/smart patrol.js".