window.AjaxDeleteExtraButtons = [
{
'label': 'DW No Source',
'tag': '{'+'{subst:dw-nsd}}',
'img_summary': 'This is a [[COM:DW|derivative work]] and no source is provided.',
'talk_tag': '{'+'{subst:dw image source|1=%FILE%}}',
'talk_summary': 'Original source is missing for %FILE%',
}, {
'label': 'Tag as dupe',
'tag': '{'+'{duplicate|1=%PARAMETER%|user=%USER%}}',
'img_summary': 'Tagging as duplicate of [[%PARAMETER%]]',
'prompt_text': 'Which is file is this a duplicate of?'
}, {
'label': 'Copyvio (www)',
'tag': '{'+'{copyvio|1=[[COM:NETCOPYRIGHT|Copyright violation]], found elsewhere on the web and unlikely to be own work: [https://www.google.com/searchbyimage?image_url={{filepath:{'+'{subst:BASEPAGENAME}}}} google search]}}',
'img_summary': 'speedy deletion: possible copyvio',
'talk_tag': '{'+'{subst:copyvionote|1=%FILE%}}',
'talk_summary': 'Notification of possible copyright violation for %FILE%',
}
];
/*( function () {
// Display multiple empty descriptions by default in UploadWizard, not just one.
// Customize these to your liking
var myLanguages = [ 'de', 'it', 'en' ];
// If this is Special:UploadWizard
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'UploadWizard' ) {
// Wait for UploadWizard to load
mw.loader.using( 'ext.uploadWizard' ).done( function () {
// Override the function which normally prefills descriptions from image metadata
var prefillDescription = mw.UploadWizardDetails.prototype.prefillDescription;
mw.UploadWizardDetails.prototype.prefillDescription = function () {
// Call overridden function
prefillDescription.call( this, arguments );
// Get the prefilled descriptions, if any
var data = this.descriptionsDetails.getSerialized();
for ( var i = 0; i < myLanguages.length; i++ ) {
if ( data.descriptions[ i ] ) {
// Change the language if this description already exists
data.descriptions[ i ].language = myLanguages[ i ];
} else {
// Add empty descriptions in remaining languages
data.descriptions.push( {
language: myLanguages[ i ],
description: ''
} );
}
}
// Set updated descriptions
this.descriptionsDetails.setSerialized( data );
};
} );
}
} )();*/
if (/^(edit|submit)$/.test( mw.config.get("wgAction") ) ) {
mw.loader.load("//www.mediawiki.org/w/index.php?title=User:PerfektesChaos/js/editToolStrIns.js&action=raw&bcache=1&maxage=604800&ctype=text/javascript",
"text/javascript");
// [[de:Benutzer:PerfektesChaos/js/editToolStrIns]]
}