importScript('MediaWiki:Gadget-libGlobalReplace.js');
importScript('User:Perhelion/justReplace.js');
importScript('User:Ahmad252/Restorer.js');
importScript('User:Ahmad252/SubpageMover.js');
importScript('User:Ahmad252/scripts/chouette.js');
importScript('User:Ahmad252/ajaxrollsum.js');
importScript('User:Perhelion/simpleSVGcheck.js');
importScript('User:Perhelion/massrename.js');
importScript('MediaWiki:Gadget-dashboard.UndeletionRequester.js');
importScript('User:Ahmad252/scripts/Gadget-CollapsibleSidebar.js');
importScript('User:Ahmad252/scripts/SpamUserPage.js');
mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js');
//The following code is developed by [[:User:4nn1l2]]
window.AjaxDeleteWatchFile = true;
window.AjaxDeleteExtraButtons = [{
'label': 'NO IND',
'tag': '{' + '{copyvio|[[COM:NETCOPYRIGHT|Copyright violation]], no indication of a [[COM:L|free license]] on the source site ([[COM:CSD#F1|F1]])}}',
'img_summary': 'Marking as possible copyvio because No indication of publication under a [[COM:L|free license]] at source',
'talk_tag': '{' + '{subst:copyvionote|1=%FILE%|reason=No indication of publication under a [[COM:L|free license]] at source}}',
'talk_summary': 'Notification of possible copyright violation for %FILE%'
}, {
'label': 'WEB',
'tag': '{'+'{copyvio|1=[[COM:NETCOPYRIGHT|Copyright violation]], found elsewhere on the web (%PARAMETER%) and unlikely to be own work ([[COM:CSD#F1|F1]])}}',
'img_summary': 'Marking as possible copyvio',
'prompt_text': 'Where?',
'talk_tag': '{' + '{subst:copyvionote|1=%FILE%|reason=Found elsewhere on the web (%PARAMETER%) and unlikely to be own}}',
'talk_summary': 'Notification of possible copyright violation for %FILE%',
}, {
'label': 'POSTER',
'tag': '{' + '{copyvio|[[COM:POSTER|Poster]] or [[COM:BOOK|book]]/[[COM:ALBUM|album]] [[Commons:Copyright_rules_by_subject_matter#Covers|cover]]}}',
'img_summary': 'Marking as possible copyvio because Poster or Book/Album Cover',
'talk_tag': '{' + '{subst:copyvionote|1=%FILE%|reason=[[COM:POSTER|Poster]] or [[COM:BOOK|book]]/[[COM:ALBUM|album]] [[Commons:Copyright_rules_by_subject_matter#Covers|cover]]}}',
'talk_summary': 'Notification of possible copyright violation for %FILE%'
}, {
'label': 'LOGO',
'tag': '{' + '{logo}}',
'img_summary': 'Marking as possible copyvio because Non-trivial logo',
'talk_tag': '{' + '{subst:copyvionote|1=%FILE%|reason=[[Commons:Copyright rules by subject matter#Trademarks|Sophisticated logo]]}}',
'talk_summary': 'Notification of possible copyright violation for %FILE%'
}, {
'label': 'ADVERT',
'tag': '{' + '{SD|G10}}',
'img_summary': 'Marking as possible advert',
'talk_tag': '{' + '{subst:speedynote|1=%FILE%|2=[[COM:CSD#G10|CSD G10]] (files and pages created as advertisements)}}',
'talk_summary': 'Notification of possible advert for %FILE%'
}, {
'label': 'SELFIE',
'tag': '{' + '{SD|F10}}',
'img_summary': 'Marking as likely personal photo',
'talk_tag': '{' + '{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10|CSD F10]] (personal photos by non-established contributors)}}',
'talk_summary': 'Notification of likely personal photo for %FILE%'
}, {
'label': 'SCREEN',
'tag': '{' + '{screenshot}}',
'img_summary': 'Marking as possible coyvio as Non-free screenshot',
'talk_tag': '{' + '{subst:copyvionote|1=%FILE%|reason=[[Commons:Screenshots]]}}',
'talk_summary': 'Notification of possible copyright violation for %FILE%'
},
];
window.AxUserMsgPreSelect = 38;
//MoreMenu
mw.hook('moremenu.ready').add(function (config) {
MoreMenu.addSubmenuLink(
'page',
'analysis',
'GlobalUsage',
'https://commons.wikimedia.org/w/index.php?target=' + mw.config.get( 'wgTitle' ) + '&title=Special%3AGlobalUsage&limit=100'// Provides a link to the GlobalUsage
);
});