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)
 
(41 intermediate revisions by 3 users not shown)
Line 1:
importScript("User:UBX/LiveEditCounter.js");
/* User:Equazcion/OneClickArchiver.js */
importScript('User:VarunFEB2003/hideBeta.js'); // Backlink:[[User:VarunFEB2003/hideBeta]]
importScript("User:Another_Article/workflowstudyclient.js");
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse
Line 5 ⟶ 7:
importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user
importScript('User:Lupin/recent2.js');
importScript('User:VarunFEB2003/IndianMilitaryTalkbackJsLink.js');
// importScript('User:VarunFEB2003/EmailLink.js')
importScript('User:VarunFEB2003/sigReminder.js')
importScript("User:Ocaasi/WikiLoveinstallscript.js");
// 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:VarunFEB2003/IndianMilitaryTalkback.js');
importScriptURI('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");
// importScript("User:VarunFEB2003/bingTitle.js");
importScript("User:Writ Keeper/Scripts/mickopedia.js");
importScript("User:Writ Keeper/Scripts/selfTalkbackLink.js");
Line 29 ⟶ 34:
importScript('User:Darkwind/DAVT.js'); // [[User:Darkwind/DAVT.js]]
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
importScript( 'User:Equazcion/BetterTwinklePrefs.js' ); // Backlink: [[User:Equazcion/BetterTwinklePrefs.js]]
importScript('User:Equazcion/NoEditSandbox.js'); //Linkback: [[User:Equazcion/NoEditSandbox]]
importScript( 'User:APerson/delsort.js' ); // Backlink: [[User:APerson/delsort.js]]
mw.loader.load( '"https://enmeta.wikipediawikimedia.org/w/index.php?title=User:Technical_13/ScriptsZhaofeng_Li/Edit_counterReflinks.js&action=raw&ctype=text/javascript'" );
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",
Line 112 ⟶ 122:
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commonsen/ad/a5d7/Button_align_rightFont_button.png',
label: 'Right align',
insertBefore: '<span style="color: Red">',
Line 209 ⟶ 219:
});
});
 
/* [[User:Technical 13/Scripts/Edit counter]] */
var editPage = 'Edit count';// Name of the subpage to save this as in your userspace. This is optional and [[/Edit count]] is the default page.
var tableClass = 'collapsible';// Any classes that you wish to have added to the template. This is optional.
var tableStyle = 'width: 668px;';// Any additional CSS you wish to add to the overall table's appearance. This is optional.
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/Edit_counter.js&action=raw&ctype=text/javascript' );