Last modified: 2011-09-22 01:28:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32237, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30237 - Uploading more files causes ownwork license to be concatenated again ("self|self|self|"...)
Uploading more files causes ownwork license to be concatenated again ("self|s...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-04 23:36 UTC by Neil Kandalgaonkar
Modified: 2011-09-22 01:28 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Neil Kandalgaonkar 2011-08-04 23:36:24 UTC
User:Ammodramus writes:

:::Have experimented further.  The problem seems to be associated with the use of the "Upload more files" button on the bottom of the last page of the upload wizard sequence.  Each time I click it and upload a new batch, it adds another "self|" to the license; thus the first batch of files came through OK, with <nowiki>"{{self|cc-zero}}"</nowiki>; the second batch had an error, with <nowiki>"{{self|self|cc-zero}}"</nowiki>; the third had <nowiki>"{{self|self|self|cc-zero}}"</nowiki>, etc.  

:::After several iterations of this, I clicked the "Upload file" link in the left-margin menu, checked "Skip this step in the future" on the bottom of the first page, and uploaded another batch.  The license came through fine; when I again clicked "Upload file" in the left margin, and uploaded yet another batch, there were no problems with the license.
Comment 1 Erik Moeller 2011-09-07 08:32:13 UTC
Elevating importance and severity.
Comment 2 Neil Kandalgaonkar 2011-09-20 01:38:39 UTC
Seems to be isolated to *only* cc-zero when combined with own-work, which in the current default config is "own-pd". The config is an edge-case, it's the only self license whose templates are specified as not the same as the original name. Not sure why this is so.

Is definitely not related to any misconfig on Commons since I can reproduce it on a wiki without any templates configured.
Comment 3 Neil Kandalgaonkar 2011-09-20 02:23:46 UTC
fixed in r97593.

In the case of cc-zero, we used a feature where the template name(s) can be different from the string describing them. But I forgot to obtain a copy of the config, and instead was pointing to the real config. So when "self" was prepended, that changed the config too.

It was only noticeable if you picked cc-zero and used the Upload more files button.

Fixed by obtaining a copy of the config to modify, rather than pointing to the original.
Comment 4 Neil Kandalgaonkar 2011-09-22 01:28:33 UTC
*** Bug 29346 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links