User:The Evil IP address/vector.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
The accompanying .css page for this skin is at User:The Evil IP address/vector.css. |
- Report page listing warnings and errors.
// <source lang="javascript">
popupAdminLinks=true;
popupRevertSummaryPrompt=true;
popupFixRedirs=true;
var popStyleSheet = 'http://en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-navpop.css';
var popScript = 'http://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-popups.js';
importStylesheetURI( popStyleSheet );
mw.loader.load(popScript);
importScript('MediaWiki:CommonsDelinker.js');
importScript('User:Lupo/da.js');
importScript('User:Pruneau/personality.js');
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:ASM/quickedit.js&action=raw&ctype=text/javascript');
var qeEnableSection0 = false;
// http://de.wikipedia.org/wiki/Benutzer:Stefan/Sperrstatus.js
$(function () {
var farbe = '';
if ( document.getElementById('ca-edit') ) {
var obj = document.getElementById('ca-edit');
var temp = String(wgRestrictionEdit);
if (temp == 'autoconfirmed') {
farbe = '#ffa500';
} else if (temp == 'sysop') {
farbe = '#ff6a6a';
}
}
if ( document.getElementById('ca-viewsource') ) {
var obj = document.getElementById('ca-viewsource');
farbe = '#ff0000';
}
if ( obj ) {
obj.firstChild.style.backgroundColor = farbe;
}
});
importScript('User:Maximr/morebits.js');
importScript('User:Kanonkas/warn.js');
importScript('User:Kanonkas/twinklefluff.js');
importScript('User:Kanonkas/twinklebatchdeletefiles.js');
importScript('User:Kanonkas/twinklebatchprotect.js');
importScript('User:Kanonkas/twinklebatchdelete.js');
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS TwinkleConfig.WatchWarnings = false;
TwinkleConfig.summaryAd = '';
TwinkleConfig.deletionSummaryAd = '';
TwinkleConfig.protectionSummaryAd = '';
TwinkleConfig.openTalkPage = [ ];
TwinkleConfig.openTalkPageOnAutoRevert = false;
TwinkleConfig.markRevertedPagesAsMinor = [ 'vand', 'agf', 'norm', 'torev' ]
TwinkleConfig.unlinkNamespaces = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,100,101];
// Adds a "Replace" tab which pops up two prompt boxes; one for a regexp and one for a replacement
function wpTextboxReplace()
{
var s = prompt("Search regexp:");
if(s){
var r = prompt("Replace /"+s+"/ with:");
if(!r && r != '') return;
var txt = document.editform.wpTextbox1;
txt.value = txt.value.replace(new RegExp(s, "mg"), r);
}
}
$(function () {
if (document.forms.editform) {
mw.util.addPortletLink('p-cactions', 'javascript:wpTextboxReplace()', 'Replace', 'ca-replace',
'Regexp replace for the edit window', 'R', document.getElementById('ca-history'));
}
});
mw.util.addPortletLink('p-tb', 'javascript:{importScript(\'User:Rillke/AjaxMassDelete.js\'); void(0);}', "Perform batch task", 't-AjaxQuickDeleteOnDemand', null);
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Mr.Z-man/moverevert2.js&action=raw&ctype=text/javascript');
// </source>