Last modified: 2011-03-13 18:06:25 UTC
URL: http://test.leuksman.com/index.php/Image:Sort_order_in_categories_01.jpg See also: http://test.leuksman.com/index.php/Category:Sort_order Hallo! If you use [[Category:foo|(space)]] as a sort order for http://test.leuksman.com/index.php/Z_-_sort_order http://test.leuksman.com/index.php/O_-_sort_order http://test.leuksman.com/index.php/M_-_sort_order http://test.leuksman.com/index.php/B_-_sort_order http://test.leuksman.com/index.php/I_-_sort_order http://test.leuksman.com/index.php/E_-_sort_order and you create the pages in that order they will be listed as "ZOMBIE". Another effect is that if you MODIFY the pages the sort order will change according to the "''rcid''"s. That is HAZARDOUS. A workaround is to use [[Category:foo|(space){{PAGENAME}}]] as done for with [[Category:foo|-{{PAGENAME}}]] for http://test.leuksman.com/index.php/X_-_sort_order http://test.leuksman.com/index.php/Q_-_sort_order http://test.leuksman.com/index.php/J_-_sort_order created in that order. Requirement the sort order should be expanded from: {{SORT KEY}} (probably followed by {{RCID}} to: {{SORT KEY}}{{NAMESPACE}}:{{PAGENAME}} by default. Best regards Reinhardt [[user:gangleri]]
This sounds like perfectly normal behavior. You deliberately set a bunch of pages with the same sort key, so they sort in the same position, and their relative displayed positions to each other are not well defined. Resolving as WONTFIX.
I think it would be good if MediaWiki sorted the category listing by sort key, then page name. This is not exactly what Reinhardt has proposed above. Under Reinhardt's proposal, if page BAR uses sort key FOO, and page FOOB uses no sort key at all, the category will list FOOB before BAR. Presumably, a better method would be to first sort by sort key, then for pages with the same key, sort by pagename. Then the example would display with BAR first, then FOOB. Anyway, fixing this problem would be helpful to Wikipedia. A common trick there is to sort "main articles" (that logically don't really belong in a category, but are useful to have there) under " ". Having them appear in random order is a wierd (if minor) glitch.
(In reply to comment #2) > ... Anyway, fixing this problem would be helpful to Wikipedia. ... Hi David! Made more tests at http://test.wikipedia.org/wiki/Category:Bugzilla/section_links What about using the following expanded sort key assumed that consecutive spaces are excahnged with a single space: <sort key><character less then %20>{{PAGENAME}}<character less then %20>{{GENERICNAMESPACE}} a) <character less then %20> should be used only for the "internal" sort and will never ever be allowed in page titles b) {{GENERICNAMESPACE}} assures that the order does not depend on localization best regards reinhardt [[user:gangleri]]