https://bugzilla.wikimedia.org/show_bug.cgi?id=48543

--- Comment #5 from jonhunte...@gmail.com ---
I jumped into the javascript for this and got it to upload revisions with the
same file name. In the 1_20 branch of the UploadWizardDetails.js I edited the
following:

in processDestinationCheck:
763 - if ( result.blacklist.notBlacklisted ) { //result.unique.isUnique &&

then in submit:
1319 - } else if ( warnings['exists'] || warnings['exists-normalized'] ) {
     params.ignorewarnings = true;
     _this.upload.api.postWithEditToken( params, ok, err );
//_this.recoverFromError( _this.titleId, gM( 'mwe-upwiz-api-warning-exists',
_this.upload.title.getUrl() ) );


With this the Description tab and the first upload tab will not check for
duplicate file names and will upload a new revision of the file.

Thanks for pointing me in the right direction!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to