Last modified: 2013-12-31 19:07:40 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 T58273, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56273 - UploadWizard UI cannot query categories when the user adds the "category:" prefix
UploadWizard UI cannot query categories when the user adds the "category:" pr...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.google-melange.com/gci/tas...
gci2013
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-28 20:17 UTC by reza1615
Modified: 2013-12-31 19:07 UTC (History)
5 users (show)

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


Attachments

Description reza1615 2013-10-28 20:17:43 UTC
At the UploadWizard UI when we add Category:foo in the category textbox it says
this category doesn't exist.

this bug is following of Bug 52444
Comment 1 Mark Holmquist 2013-11-26 19:25:18 UTC
I guess the "easy" part of this is that we should make it clear in the UI that the categories shouldn't be prefixed with Category:, or at least we should consider stripping that out automatically when we search (or if we fail to find it?)

I'll label this as a GCI candidate task.
Comment 2 Bawolff (Brian Wolff) 2013-11-26 20:36:53 UTC
(In reply to comment #1)
> I guess the "easy" part of this is that we should make it clear in the UI
> that
> the categories shouldn't be prefixed with Category:, or at least we should
> consider stripping that out automatically when we search (or if we fail to
> find
> it?)
> 

I think its better to be more accepting than to try to force user into formatting things a certain way.
Comment 3 Quim Gil 2013-11-27 19:40:09 UTC
(In reply to comment #1)
> I'll label this as a GCI candidate task.

And I will submit it as a GCI if/when there is agreement.
Comment 4 Quim Gil 2013-12-16 05:49:35 UTC
(In reply to comment #0)
> At the UploadWizard UI when we add Category:foo in the category textbox it
> says this category doesn't exist.


(In reply to comment #1)
> we should
> consider stripping that out automatically when we search (or if we fail to
> find it?)

This, instead of forcing the user to not type "Category:"?
Comment 5 reza1615 2013-12-16 07:29:49 UTC
(In reply to comment #4)
> (In reply to comment #0)
> > At the UploadWizard UI when we add Category:foo in the category textbox it
> > says this category doesn't exist.
> 
> 
> (In reply to comment #1)
> > we should
> > consider stripping that out automatically when we search (or if we fail to
> > find it?)
> 
> This, instead of forcing the user to not type "Category:"?

I said we shouldn't force users to type "Category:" in input category text box! and system should accept with out "Category:" only for that text box.
Comment 6 Quim Gil 2013-12-21 07:31:58 UTC
As said, as soon as there is a clear specification I will create the GCI task. We need more tasks!
Comment 7 Bawolff (Brian Wolff) 2013-12-21 07:44:01 UTC
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
Comment 8 Gerrit Notification Bot 2013-12-23 08:11:21 UTC
Change 103345 had a related patch set uploaded by Theopolisme:
Allow category prefix when entering categories

https://gerrit.wikimedia.org/r/103345
Comment 9 Gerrit Notification Bot 2013-12-31 18:58:52 UTC
Change 103345 merged by jenkins-bot:
Allow category prefix when entering categories

https://gerrit.wikimedia.org/r/103345
Comment 10 Mark Holmquist 2013-12-31 19:07:40 UTC
Should be fixed now!

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


Navigation
Links