Commit e08e4f60 authored by Ostrzyciel's avatar Ostrzyciel

add campaign wikitext before the information template

parent c9e168c1
......@@ -783,6 +783,11 @@
if (this.getTitle().getMain().toLowerCase().endsWith('.svg'))
wikiText += '{{Wektorowa}}\n\n';
if ( mw.UploadWizard.config.autoAdd.wikitext !== undefined ) {
wikiText += mw.UploadWizard.config.autoAdd.wikitext + '\n\n';
}
//wikiText += '=={{int:filedesc}}==\n';
wikiText += '{{Information\n' + info + '}}\n';
......@@ -795,10 +800,6 @@
//wikiText += '\n=={{int:license-header}}==\n';
//wikiText += deed.getLicenseWikiText( this.upload ) + '\n\n';
if ( mw.UploadWizard.config.autoAdd.wikitext !== undefined ) {
wikiText += mw.UploadWizard.config.autoAdd.wikitext + '\n';
}
// add parameters for list callback bot
// this cue will be used to supplement a wiki page with an image thumbnail
if ( $( '#imgPicker' + this.upload.index ).prop( 'checked' ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment