User:Str4nd/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 can be added at User:Str4nd/vector.css. |
importScript('User:Kanonkas/warn.js');
importScript('User:Maximr/morebits.js');
importScript('User:Kanonkas/twinklefluff.js');
wgUserName = "str4nd";
importScript("User:Patstuart/Flickrreview.js");
function appendScript(url) {
var scriptElem = document.createElement('script');
scriptElem.setAttribute('src',url);
scriptElem.setAttribute('type','text/javascript');
document.getElementsByTagName('head')[0].appendChild(scriptElem);
}
appendScript('http://www.wikia.com/index.php?title=User:Splarka/fastdelete.js&action=raw&ctype=text/javascript&dontcountme=s');
// *****************************************************************
// Custom automatic delete buttons
// *****************************************************************
// Adds customizable one-click deletion buttons to any deletable page.
// Requires w:User:Splarka/fastdelete.js in appendScript();
var fdButtons = [];
fdButtons[fdButtons.length] = {
'summary': 'Test, please use the [[Commons:Sandbox|sandbox]]',
'label': '→Test'};
fdButtons[fdButtons.length] = {
'summary': 'Vandalism',
'label': '→vand'};
fdButtons[fdButtons.length] = {
'summary': 'Empty cat.',
'label': 'Category'};
fdButtons[fdButtons.length] = {
'summary': 'Out of project scope. Please see [[Commons:Project scope|our project scope]]',
'label': '→Scope'};
fdButtons[fdButtons.length] = {
'summary': '[[Commons:Licensing|Copyright violation]]',
'label': '→copvio'};
fdButtons[fdButtons.length] = {
'summary': 'Talk page of deleted or nonexistent content',
'label': '→Orphan talk'};