Page MenuHomePhabricator

Add "test image" category to "extensions/UploadWizard/test/api/' script
Closed, ResolvedPublic



Right now the script doesn't add the category "[[Category:Test images]]" to the images that are uploaded. The category was added manually after running the script. This is suboptimal since users may forget to add this category when they run the tests agains a different environment or with a different user. The test should add this category automatically as part of the actual uploading task. This is simple, just need to add an extra field "text" with the required category to the upload API call, something like:

text="[[Category:Test images]]"

Here is the script that I want you to modify:

Version: master
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:22 AM
bzimport set Reference to bz58914.
bzimport added a subscriber: Unknown Object (MLST).

Change 103552 had a related patch set uploaded by M4tx:
Add "Test images" category to "" script

Change 103552 merged by jenkins-bot:
Add "Test images" category to "" script

aarcos: Assuming this bug is FIXED by merging the patch in comment 2.
If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.