// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
popupOnEditSelection=false;
popupHideDelay=0;
popupRedlinkRemoval=true;
// [[User:Ais523/watchlistnotifier.js]] - secure server version
importScript('User:Hersfold/securewatchlistnotifier.js');
// [[User:Ais523/adminrights.js]]
importScript('User:Ais523/adminrights.js');
// Tweaking interface
// Tab name fixer (copied from User:Anomie/fix-tab-text.js, target content modified)
/* A simple javascript function to change the text in various tabs at the top of the
* page. Only tested with the monobook skin.
*/
$(function(){
var fix=function(id, text){
var el=document.getElementById(id);
if(!el) return;
for(el=el.firstChild; el && el.nodeName!='A'; el=el.nextSibling);
if(!el) return;
while(el.firstChild) el.removeChild(el.firstChild);
el.appendChild(document.createTextNode(text));
}
/* Add lines as necessary. Use the Firefox DOM inspector or some such to determine
* the appropriate IDs.
*/
fix('ca-delete', 'nuke this page');
fix('ca-addsection', '+');
});
//end tab name fixer
// One-click userrights [[User:Animum/userrights.js]]
importScript('User:Animum/userrights.js');
// New page patrol links
showbydefault = true;
importScript('User:Mr.Z-man/patrollinks.js');
// Highlight blocked users
importScript('User:NuclearWarfare/Mark-blocked script.js');
// Change background color if logged into secure server - thanks to [[User:TheDJ]]
if( wgServer.indexOf( "https://secure.wikimedia.org" ) == 0 ) {
importStylesheet( "User:Hersfold/secure.css" );
}
// AFC Helper
importScript('User:Timotheus Canens/afchelper4.js');