Last modified: 2014-09-09 18:17: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 T32879, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30879 - UploadWizard adds categories without [[Category:]] prefix
UploadWizard adds categories without [[Category:]] prefix
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Highest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-12 21:43 UTC by Erik Moeller
Modified: 2014-09-09 18:17 UTC (History)
4 users (show)

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


Attachments

Description Erik Moeller 2011-09-12 21:43:59 UTC
As of today, 9/12, UploadWizard adds user-entered categories, as well as the default category "Uploaded with UploadWizard", without the [[Category:]] prefix. So, instead of

[[Category:Uploaded with UploadWizard]]
[[Category:Bar'am national park]]

you get

[[Uploaded with UploadWizard]]
[[Bar'am national park]]

in the description page.
Comment 1 Sam Reed (reedy) 2011-09-12 21:53:35 UTC
Fix live hacked onto site
Comment 2 Sam Reed (reedy) 2011-09-12 21:55:54 UTC
(In reply to comment #1)
> Fix live hacked onto site
That was r96917

WHICH is what the code actually did before

http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.17wmf1/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js?view=markup#l211
Comment 3 Erik Moeller 2011-09-12 21:58:24 UTC
Images with broken cats start here:
http://commons.wikimedia.org/w/index.php?title=Special:NewFiles&until=20110912201424

We'll need to run a clean-up bot on these.
Comment 4 Erik Moeller 2011-09-12 22:06:31 UTC
More convenient URL for getting broken file descriptions:

http://commons.wikimedia.org/wiki/Special:WhatLinksHere/Uploaded_with_UploadWizard

If anyone reading this has time to write a quick bot to clean up, please comment here; otherwise I or someone else from WMF will try to get to it ASAP.
Comment 5 Sam Reed (reedy) 2011-09-12 22:11:15 UTC
(In reply to comment #4)
> More convenient URL for getting broken file descriptions:
> 
> http://commons.wikimedia.org/wiki/Special:WhatLinksHere/Uploaded_with_UploadWizard
> 
> If anyone reading this has time to write a quick bot to clean up, please
> comment here; otherwise I or someone else from WMF will try to get to it ASAP.

I just did all those in that list you did before (wasn't actually that many of them)

I can get AWB to do [[Uploaded with UploadWizard]] to [[Category:Uploaded with UploadWizard]] very easily

It's changing the other categories...
Comment 6 Erik Moeller 2011-09-12 22:57:44 UTC
Many thanks for the quick fix and the clean-up, Sam!
Comment 7 Sam Reed (reedy) 2011-09-13 00:28:53 UTC
Should be all done now, not saying it'll be 100% perfect, but it shouldn't be far off...

Jeroen did trunk in r96918 and I did 1.17wmf1 in r96917

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


Navigation
Links