User:VarunFEB2003/common.js: Difference between revisions

Content deleted Content added
m Maintenance: Replacing importScriptURI with mw.loader.load (phab:T95964)
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)
 
(One intermediate revision by the same user not shown)
Line 40:
importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: [[User:Andy M. 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",