User:VarunFEB2003/common.js: Difference between revisions

Content deleted Content added
No edit summary
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)
 
(7 intermediate revisions by 3 users not shown)
Line 13:
// importScript('User:VarunFEB2003/IndianMilitaryBadges.js');
// importScript('User:VarunFEB2003/IndianMilitaryUtility.js');
importScriptURImw.loader.load('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/customWatchlists.js');
importScript("User:Writ Keeper/Scripts/SearchNamespace.js");
importScript("User:Writ Keeper/Scripts/googleTitle.js");
Line 36:
importScript( 'User:Equazcion/BetterTwinklePrefs.js' ); // Backlink: [[User:Equazcion/BetterTwinklePrefs.js]]
importScript('User:Equazcion/NoEditSandbox.js'); //Linkback: [[User:Equazcion/NoEditSandbox]]
importScript( 'User:Equazcion/NewSectionSummary.js' ); // Backlink: [[User:Equazcion/NewSectionSummary.js]]
importScript( 'User:APerson/delsort.js' ); // Backlink: [[User:APerson/delsort.js]]
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
importScript( 'User:EquazcionAndy M. Wang/NewSectionSummarypageswap.js' ); // Backlink: [[User:Equazcion/NewSectionSummaryAndy M.js Wang/pageswap]]
 
addOnloadHook$(function () {
mw.util.addPortletLink(
"p-tb", // toolbox portlet
"http://dispenser.homenet.org//~dispenser/cgi-bin/dab_solver.py?page="+wgPageName+"&commonfixes=on",
"Dabfix" // link label
)});
addOnloadHook$(function () {
mw.util.addPortletLink(
"p-tb", // toolbox portlet
"http://en.wikipedia.org/wiki/"+wgPageName+"?action=purge&forcerecursivelinkupdate",
"Force Purge" // link label
)});
addOnloadHook$(function () {
mw.util.addPortletLink(
"p-tb", // toolbox portlet
"http://en.wikipedia.org/wiki/User:VarunFEB2003/Statussig?action=edit",