User:Allstarecho/monobook.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:Allstarecho/monobook.css. |
- Report page listing warnings and errors.
importScript ('MediaWiki:Gadget-ImageAnnotator.js');
// I want a big WikiMiniAtlas to use the new image preview feature
var wma_settings =
{
//quicklink : true,
height : 500,
width : 800
}
// Provides the in or busy or out status function
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js&action=raw&ctype=text/javascript&dontcountme=s');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Allstarecho/statusChanger.js&action=raw&ctype=text/javascript&dontcountme=s');
// [[User:Lupin/popups.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s' );
//simplePopups = true;
popupImages = false;
importScript('User:Kanonkas/rollbackSummary.js');
importScript('User:Kanonkas/warn.js');
importScript('User:Maximr/morebits.js');
importScript('User:Kanonkas/twinklefluff.js');
//
// Insert a personalized Texttemplate into the Special:Upload edit box.
//
function delayedUpdateSpecialUpload()
{
var editbox = document.getElementById('wpUploadDescription');
editbox.value = "{"+"{Information\n"
+ "|Description={"+"{en|}"+"}\n"
+ "|Source={"+"{own}"+"}\n"
+ "|Date=\n"
+ "|Author=[[User:Allstarecho|Allstarecho]]\n"
+ "|Permission=See license\n"
+ "|other_versions=\n"
+ "}"+"}\n\n"
+ "== Licensing ==\n"
+ "{"+"{self|GFDL|cc-by-sa-3.0|author=I, [[User:Allstarecho|Allstarecho]]}"+"}";
}
function setSpecialUploadTemplate()
{
var uploadURL = 'http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ownwork';
// I upload mostly my own work
document.getElementById('n-uploadbtn').firstChild.href = uploadURL;
// preload input form
if(window.location.href == uploadURL) setTimeout( "delayedUpdateSpecialUpload()", 500 );
}
$(setSpecialUploadTemplate);
// [[:w:en:User:Haza-w/Drop-down menus]]
mw.loader.load('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Haza-w/cactions.js');
var cactions = {
itabs: true,
svars: Array(
['AN page', wgScript+'?title=Commons:Administrators%27_noticeboard&action=view'],
['AN Attn page', wgScript+'?title=Commons:Administrators%27_noticeboard/Attention&action=view'],
['AN User probs', wgScript+'?title=Commons:Administrators%27_noticeboard/User_problems&action=view'],
['AN Vandals', wgScript+'?title=Commons:Administrators%27_noticeboard/Vandalism&action=view'],
['My monobook js', wgScript+'?title=User:Allstarecho/monobook.js&action=view']
)
};
mw.loader.load('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Ale_jrb/Scripts/waLib.js');
mw.loader.load('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Allstarecho/autoarchive.js');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Allstarecho/geoloc.js'
+ '&action=raw&ctype=text/javascript');