User:X/common.js: Difference between revisions
< User:X
Content deleted Content added
MacFan4000 (talk | contribs) m MacFan4000 moved page User:Administrator/common.js to User:X/common.js: Automatically moved page while renaming the user "Administrator" to "X" |
Disabling User:PB2008/common.js (script-installer) |
||
Line 3: | Line 3: | ||
importScript('User:Joepayne/stripRights.js'); // Backlink: [[User:Joepayne/stripRights.js]] |
importScript('User:Joepayne/stripRights.js'); // Backlink: [[User:Joepayne/stripRights.js]] |
||
importScript('User:MacFan4000/grantAdmin.js'); // Backlink: [[User:MacFan4000/grantAdmin.js]] |
importScript('User:MacFan4000/grantAdmin.js'); // Backlink: [[User:MacFan4000/grantAdmin.js]] |
||
importScript('User:PB2008/common.js'); // Backlink: [[User:PB2008/common.js]] |
//importScript('User:PB2008/common.js'); // Backlink: [[User:PB2008/common.js]] |
||
$.when(mw.loader.using(['mediawiki.util'], $.ready)).done( function() { |
$.when(mw.loader.using(['mediawiki.util'], $.ready)).done( function() { |
||
mw.util.addPortletLink("p-tb", mw.config.get('wgArticlePath').replace('$1', "Project:AutoWikiBrowser/Script"), "JS Wiki Browser", "tb-awbscript", "Run Javascript Wiki Browser"); |
mw.util.addPortletLink("p-tb", mw.config.get('wgArticlePath').replace('$1', "Project:AutoWikiBrowser/Script"), "JS Wiki Browser", "tb-awbscript", "Run Javascript Wiki Browser"); |
Revision as of 19:17, 25 May 2023
importScript('User:Joepayne/grantBureaucrat.js'); // Backlink: [[User:Joepayne/grantBureaucrat.js]]
importScript('User:Joepayne/stripRights.js'); // Backlink: [[User:Joepayne/stripRights.js]]
importScript('User:MacFan4000/grantAdmin.js'); // Backlink: [[User:MacFan4000/grantAdmin.js]]
//importScript('User:PB2008/common.js'); // Backlink: [[User:PB2008/common.js]]
$.when(mw.loader.using(['mediawiki.util'], $.ready)).done( function() {
mw.util.addPortletLink("p-tb", mw.config.get('wgArticlePath').replace('$1', "Project:AutoWikiBrowser/Script"), "JS Wiki Browser", "tb-awbscript", "Run Javascript Wiki Browser");
});
if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'Project:AutoWikiBrowser/Script' && mw.config.get('wgAction') == 'view')
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js&action=raw&ctype=text/javascript');