User:MKFI/common.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 can be added at User:MKFI/common.css. |
- Report page listing warnings and errors.
importScript('User:Perhelion/justReplace.js');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript');
var d = document.getElementById("n-uploadbtn");
d.innerHTML = d.innerHTML.replace("Special:UploadWizard", "Commons:Upload");
var s = document.getElementById("t-specialpages");
s.style.fontWeight = "bold";
var googleImagesBt = document.querySelector('li#ca-googleimages');
if(googleImagesBt !== null){
googleImagesBt=googleImagesBt.firstChild;
var googleImagesUrl = googleImagesBt.attributes["href"].value;
googleImagesUrl=googleImagesUrl + "&q=-site%3Aws%20-site%3Awow.com%20-site%3Awikiwand.com";
googleImagesBt.attributes["href"].value = googleImagesUrl;
}
window.AjaxDeleteExtraButtons = [
{
'label': 'Speedy Selfie/F10',
'tag': '{'+'{SD|F10}}',
'img_summary': 'Requesting speedy deletion: [[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)',
'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)}}',
'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#F10|CSD F10]] (personal photos by non-contributors)',
},{
'label': 'Duplicate',
'tag': '{' + '{duplicate|1=%PARAMETER%|user=%USER%}}',
'img_summary': 'Tagging as duplicate of [[%PARAMETER%]]',
'prompt_text': 'Which file is this a duplicate of?',
'optin_notify': 1
}
];