User:Fiendian Reptiloid, Demon/global.js

This is an archived version of this page, as edited by Ladsgroup (talk | contribs) at 18:02, 28 November 2021 (Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)). It may differ significantly from the current version.

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.
importScript('User:Lupin/popups.js','en')
importScript('User:Alex Smotrov/urldecoder.js','ru')
importScript('MediaWiki:Gadget-wikEd.js','en')
importScript('User:Alex_Smotrov/qsig.js','ru')
importScript('User:Alex Smotrov/logpage.js','ru')
importScript('User:Alex Smotrov/misc/charcounter.js','ru');

popupFixDabs = true;
popupFixRedirs = true;
popupRedirAutoClick = 'wpSave';
popupRedlinkRemoval = true;

if (wgNamespaceNumber >= 0)
 addOnloadHook(function(){
  mw.util.addPortletLink('p-tb', '/wiki/Special:Prefixindex/' + wgPageName + '/', 'Підсторінки');
 })