GSoC/GCI Archive
Google Code-in 2013 Wikimedia

UploadWizard UI cannot query categories when the user adds the "category:" prefix

completed by: Theo Patt

mentors: Quim Gil

UploadWizard is an extension that allows a user to upload multiple files with a step-by-step JavaScript wizard. See also:Upload Wizard description page on Wikimedia Commons.

Currently it has this little problem:

User should be able to type:
*Foo
*Category:Foo
*Localized namespaces (e.g. Catégorie:Foo if a french wiki)

And have the exact same behaviour. (For example like in
[[Special:RandomInCategory]])

One gotcha to watch out for is things like:
*User:Foo

Which should still be interpreted as Category:User:Foo

See this bug report for more information:
Bug 56273 - UploadWizard UI can not query category which has "category:" prefix

Please ask any questions in the bug report. You will have better chances for quicker and better answers from the project maintainers and other community contributors.

Students are required to read Wikimedia's general instructions first. Patches should be submitted to Gerrit and reference the bug report in the commit message. Improvements to an initial patch must be submitted as an amendment  to the initial patch, not as new patches.