User:Mcint/common.js

From Noisebridge
Revision as of 20:02, 1 June 2023 by Mcint (talk | contribs) (Created page with "// enabled $wgAllowUserJs = true today: // [[Wikipedia:Tools/Navigation popups]]: mw.loader.load('https://en.wikipedia.org/w/load.php?modules=ext.gadget.Navigation_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* // enabled $wgAllowUserJs = true today */

/* // [[Wikipedia:Tools/Navigation popups]] */
mw.loader.load('https://en.wikipedia.org/w/load.php?modules=ext.gadget.Navigation_popups');

mw.loader.load('https://www.mediawiki.org/w/index.php?title=MediaWiki:Tutorial-QuickRC.js&action=raw&ctype=text/javascript');

mw.util.addPortletLink ('p-tb', wgServer+wgArticlePath.replace("$1", "Special:PrefixIndex/"+mw.config.values.wgPageName+"/"), 'Subpages*');