Last modified: 2005-11-25 17:43:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4076 - automatically sort images in categories by Foo not Image:Foo
automatically sort images in categories by Foo not Image:Foo
Status: RESOLVED DUPLICATE of bug 450
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-25 14:38 UTC by Chris M
Modified: 2005-11-25 17:43 UTC (History)
0 users

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


Attachments

Description Chris M 2005-11-25 14:38:43 UTC
Currently it appears that images in categories are automatically treated as
being named Image:Foo instead of Foo. This means that unless the link from the
images is in the form of [[Category:Foo|{{PAGENAME}}]] the CategoryTOC template
doesn't work, as all the images start with I. They should be sorted
automatically by pagename, needing to explicitly specifit it is (to my mind at
least) counter intuitive. Obviously links that currently specify {{PAGENAME}} as
the sortkey will be unnafected.

I can't see a reason why you would want to sort by the namespace, but if there
is a need this could be done by [[category:Foo|{{NAMESPACE}}]].

This issue is related to [[bug:1502]] and perhaps a precursor to it, but not a
duplicate.
Comment 1 Rowan Collins [IMSoP] 2005-11-25 17:40:41 UTC
I'm marking this a dupe of bug 450 because that would solve the underlying
problem in a nice clean way. If you think about it, this generalises to every
namespace but the "main" (article) one - why sort templates under
"Template:...", project pages under "Wikipedia:...", etc? 

But at the same time, we don't really want to muddle the different kinds of
pages up any more than they already are, which deafaulting the sortkey to
PAGENAME would - i.e. it makes sense for "Wikipedia:Foo" to be sorted under "F",
but do we want it to appear next to "Foo", "Template:Foo", and "Image:Foo.jpeg",
or would we rather keep them separate in some way?

The logical route, IMHO, is to split the display by namespace, and then sort by
(and indeed display) only the pages' titles.
Comment 2 Rowan Collins [IMSoP] 2005-11-25 17:40:56 UTC

*** This bug has been marked as a duplicate of 450 ***
Comment 3 Daniel Kinzler 2005-11-25 17:43:20 UTC
Pages from different namespaces should very rarely show up in the same category.
One exception are images on the commons, which are mixed with gallery pages in
categories. But images have a separate section on the category page anyway, so
that would not be a problem.

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


Navigation
Links