User:Xiplus/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:Xiplus/common.css. |
mw.loader.load('ext.gadget.VisualFileChange');
window.AjaxDeleteExtraButtons = [
{
'label': 'Delete: Screenshot',
'tag': '{' + '{Screenshot}}',
'img_summary': 'speedy deletion: possible copyvio',
'talk_tag': '{' + '{subst:copyvionote|1=%FILE%}}',
'talk_summary': 'Notification of possible copyright violation for %FILE%',
}
];
/* Importer */
window.Importer = {
'wikis': [
{ text: '中維', url: 'https://zh.wikipedia.org/w/api.php', interwiki: 'zh' },
{ text: '英維', url: 'https://en.wikipedia.org/w/api.php', interwiki: 'en' },
{ text: 'MediaWiki', url: 'https://www.mediawiki.org/w/api.php', interwiki: 'mw' },
]
};
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Xiplus/js/importer.js&action=raw&ctype=text/javascript');