Last modified: 2012-06-04 23:52:54 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 T32300, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30300 - Bug in category autocomplete when category contains :
Bug in category autocomplete when category contains :
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-09 20:59 UTC by Derk-Jan Hartman
Modified: 2012-06-04 23:52 UTC (History)
3 users (show)

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


Attachments
screenshot of the bug (17.85 KB, image/png)
2011-08-09 21:12 UTC, Derk-Jan Hartman
Details

Description Derk-Jan Hartman 2011-08-09 20:59:16 UTC
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0

The category autocomplete doesn't work properly for categories with colons in them. The part of the category name after the colon doesn't show up in the list of options.

For example, I found this problem when trying to add the category: "Photographs by User:99of9"



https://secure.wikimedia.org/wikipedia/commons/w/index.php?title=Commons:Prototype_upload_wizard_feedback&diff=57457080&oldid=57450560
Comment 1 Derk-Jan Hartman 2011-08-09 21:12:43 UTC
Created attachment 8900 [details]
screenshot of the bug
Comment 2 Derk-Jan Hartman 2011-08-10 19:30:30 UTC
Seems that trunk has a totally different implementation, but the problem for deployed code is here:


http://svn.wikimedia.org/viewvc/mediawiki/branches/wmf/1.17wmf1/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js?revision=90676&view=markup


$j.each( pages, function( i, page ) {
var title = page.title.split( ':', 2 )[1];
titleArr.push( title );
} );
Comment 3 Mark Holmquist 2012-06-04 23:52:54 UTC
I'm not seeing a problem with this anymore, hopefully it's working for everyone because it definitely WFM.

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


Navigation
Links