User:Jimfbleak/common.js: Difference between revisions
Appearance
Content deleted Content added
disable hot cat. that is available as a gadget |
The sandbox is provided as a link by default. |
||
Line 35: | Line 35: | ||
'#pt-preferences' |
'#pt-preferences' |
||
); |
); |
||
mw.util.addPortletLink( 'p-personal', '/w/index.php?title=Special:MyPage/sandbox&action=edit', 'Sandbox', 'pt-sandbox', 'Sandbox', null, '#pt-preferences' ); |
|||
mw.util.addPortletLink( "p-tb","/wiki/Special:NewPagesFeed" ,"New Pages","tb-Newpages","View the New Pages Feed"); |
mw.util.addPortletLink( "p-tb","/wiki/Special:NewPagesFeed" ,"New Pages","tb-Newpages","View the New Pages Feed"); |
||
}); |
}); |
Revision as of 16:02, 28 April 2017
importScript('User:Mr. Stradivarius/gadgets/SpamUserPage.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/SpamUserPage.js]]
importScript('User:Rezonansowy/SimpleLightbox.js'); // Backlink: [[User:Rezonansowy/SimpleLightbox.js]]
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
importScript('User:Equazcion/SidebarHistoryTools.js'); //Linkback: [[User:Equazcion/SidebarHistoryTools]]
importScript('User:Bility/copySectionLink.js'); //Section link
ebPrefs = { showOnPages: ["user_usertalk", "contribs", "diffs", "ipblocklist"] };
importScript("User:Animum/easyblock.js"); //[[User:Animum/easyblock.js]]
importScript('User:Amalthea/userhighlighter.js'); //If you want a colour other than cyan, add .amalthea_userhighlighter_sysop {background-color: #FFFF00 !important}
importScript('User:Js/ajaxPreview.js'); // [[user:js/ajaxPreview]]
var ajaxPreviewPos = 'left'; //buttons on the left
importScript("User:PleaseStand/highlight-comments.js");
/* User:Mr.Z-man/closeAFD.js */
importScript( 'User:Mr.Z-man/closeAFD.js' );// Backlink: [[User:Mr.Z-man/closeAFD.js]]
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
/* When action=purge is reached, automatically purge the page and then redirect to the actual page. */
mw.loader.load('//meta.wikipedia.org/w/index.php?title=User:Glaisher/autoPurge.js&action=raw&ctype=text/javascript');
/* This script is used to add a link to the top toolbar for viewing Special:History/Today's Featured Article
in a Recent Changes format. It is primarily designed to help FA contributors, reviewers and recent change patrollers
to quickly see TFA revisions. To use the script, add the following line to Special:MyPage/common.js:
importScript('User:Lourdes/TFAhistorylink.js'); // Linkback: [[User:Lourdes/TFAhistorylink.js]]
*/
$.when( mw.loader.using(['mediawiki.util']), $.ready).then( function() {
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:RecentChangesLinked/Wikipedia:TFA title' ),
'TFA History',
'pt-recentchanges',
'View changes to the Featured Article on the Main Page',
null,
'#pt-preferences'
);
mw.util.addPortletLink( "p-tb","/wiki/Special:NewPagesFeed" ,"New Pages","tb-Newpages","View the New Pages Feed");
});