User:LX/monobook.js
< User:LX
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:LX/monobook.css. |
// Larger Gallery gadget setting
window.largerGallery = 1.5;
window.largerGalleryZoom = 1;
// User messages settings
window.AxUserMsgPreSelect = 10; // {{End of copyvios}}
window.AxUserMsgCustomText = '';
// Make MediaWiki:AjaxQuickDelete.js add stuff to my watchlist
window.AjaxDeleteWatchFile = true;
window.AjaxDeleteWatchUserTalk = true;
// Add buttons to QuickDelete
window.AjaxDeleteExtraButtons = [
{
'label': 'Non-free Internet image',
'tag': '{'+'{copyvio|Just another non-free image from the Internet. See [[Commons:Image casebook#Internet images]].}}',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Just another [[Commons:Image casebook#Internet images|non-free Internet image]].}}',
'img_summary': '[[Commons:Licensing|Copyright violation]]. Just another [[Commons:Image casebook#Internet images|non-free Internet image]].',
'talk_summary': 'Do not upload [[Commons:Licensing|copyright violations]] such as [[Commons:Image casebook#Internet images|non-free images found on the Internet]].'
},
{
'label': 'Non-free Google result',
'tag': '{'+'{copyvio|Just another non-free Google search result. See [[Commons:Image casebook#Internet images]].}}',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Just another [[Commons:Image casebook#Internet images|non-free Google search result]].}}',
'img_summary': '[[Commons:Licensing|Copyright violation]]. Just another [[Commons:Image casebook#Internet images|non-free Google search result]].',
'talk_summary': 'Do not upload [[Commons:Licensing|copyright violations]] such as [[Commons:Image casebook#Internet images|non-free Google search results]].'
},
{
'label': 'Spam',
'tag': '{'+'{speedy|[[COM:CSD#G10|Spam]]}}',
'talk_tag': '{'+'{subst:no advertising}}',
'img_summary': 'Speedy delete: [[COM:CSD#G10|Spam]]',
'talk_summary': 'Do not upload out of [[COM:PSS|scope]] [[COM:SPAM|promotional content]] such as %FILE%'
},
{
'label': 'Googling ≠ authorship',
'tag': '{'+'{copyvio|Finding a file on Google does not make one the author.}}',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Finding a file on Google does not make you the author.}}',
'img_summary': '[[Commons:Licensing|Copyright violation]]. Finding a file on Google does not make one the author.',
'talk_summary': 'Finding a file on Google does not make you the author.'
},
{
'label': 'Googling ≠ copyright holder',
'tag': '{'+'{copyvio|Finding a file on Google does not make one the copyright holder.}}',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Finding a file on Google does not make you the copyright holder.}}',
'img_summary': '[[Commons:Licensing|Copyright violation]]. Finding a file on Google does not make one the copyright holder.',
'talk_summary': 'Finding a file on Google does not make you the copyright holder.'
},
{
'label': 'Googling ≠ author or copyright holder',
'tag': '{'+'{copyvio|Finding a file on Google does not make one the author or copyright holder.}}',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Finding a file on Google does not make you the author or copyright holder.}}',
'img_summary': '[[Commons:Licensing|Copyright violation]]. Finding a file on Google does not make one the author or copyright holder.',
'talk_summary': 'Finding a file on Google does not make you the author or copyright holder.'
},
{
'label': 'Flickrvio',
'tag': '{'+'{flickrvio}}',
'talk_tag': '{'+'{subst:flickrvionote|1=%FILE%}}',
'img_summary': 'Copyright violation. The Flickr user is not the copyright holder and therefore cannot issue a valid license.',
'talk_summary': 'Critically evaluate Flickr licenses'
},
{
'label': 'Recreated copyvio',
'tag': '{'+'{copyvio|Previously deleted copyright violation. Recreated outside of [[Commons:Undeletion requests|process]].}}',
'talk_tag': '{'+'{subst:dont recreate|1=%FILE%}}',
'img_summary': 'Previously deleted [[Commons:Licensing|copyright violation]]. Recreated outside of [[Commons:Undeletion requests|process]].',
'talk_summary': 'Do not upload copyright violations and do not recreate previously deleted files outside of [[Commons:Undeletion requests|process]].'
},
{
'label': 'Not PD-ineligible',
'tag': '{'+'{copyvio|Bogus PD rationale. Not ineligible for copyright protection. Contains original authorship.}}',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=Bogus PD rationale. Not ineligible for copyright protection. Contains original authorship.}}',
'img_summary': '[[Commons:Licensing|Copyright violation]]. Not ineligible for copyright protection.',
'talk_summary': 'Do not misuse [[Template:PD-ineligible]].'
},
{
'label': 'Attack image',
'tag': '{'+'{speedy|[[Commons:Deletion policy#Speedy deletion|Uploaded with the intent to be used solely for personal attacks.]]}}',
'talk_tag': '{'+'{subst:attackimage|1=%FILE%}}',
'img_summary': 'Attack image. Should be speedily deleted.',
'talk_summary': 'Please do not upload attack images.'
},
{
'label': 'Unused low quality selfie',
'tag': '{'+'{speedy|[[COM:CSD#F10|Unused low-quality personal photo of subject with no apparent notability.]] Not realistically useful for educational purposes and therefore outside of [[COM:PSS|Commons\' project scope]].}}',
'talk_tag': '{'+'{subst:project scope|1=%FILE%}}',
'img_summary': 'Unused low-quality personal photo. Should be speedily deleted.',
'talk_summary': 'Please do not upload images that are not useful for educational purposes.'
},
{
'label': 'Spam',
'tag': '{'+'{speedy|[[COM:CSD#G10|Advertisement.]] Not realistically useful for educational purposes and therefore outside of [[COM:PSS|Commons\' project scope]].}}',
'talk_tag': '{'+'{subst:no advertising}}',
'img_summary': '[[COM:SPAM|Spam]]. Should be speedily deleted.',
'talk_summary': 'Please do not abuse Commons for promotional purposes.'
}
];
// User:Cropbot
mw.loader.using(['mediawiki.util']).then(function() {
if(mw.config.get('wgNamespaceNumber') == 6) {
if(wgTitle.match(/(.*)\.(jpg|jpeg)/gi)) {
var croplink = "//tools.wmflabs.org/cropbot/cropbot.php?img="+wgTitle;
mw.util.addPortletLink("p-tb", croplink, "Crop", "p-crop", "Crop this image", "o", false);
}
}
});
// Log link
function addloglink()
{
var loglink = mw.config.get('wgServer') + "/w/index.php?title=Special:Log&page=" + encodeURIComponent(mw.config.get('wgPageName'));
mw.util.addPortletLink("p-tb", loglink, "Page log", "p-logs", "All public logs for this file");
}
mw.loader.using(['mediawiki.util']).then(function() {
addloglink();
});
//vFCvFCCfg/////////////////////////////////////
/////// VISUAL FILE CHANGE CONFIGURATION ///////
///// DO NOT MODIFY BY HAND - FINGERS AWAY! ////
////////////////////////////////////////////////
window.vFCSettings = {"userNote":"","firstTest":"0","testEdits":"0","defaultAction":"del","watchlistUserTalk":"watch","watchlistFiles":"watch","loadBatchSize":"100","maxSimultaneousReq":"5","watchUserTalk":true,"watchFiles":true};
//////////////////////////////////vFCvFCCfgEnd//