https://bugzilla.wikimedia.org/show_bug.cgi?id=44676

--- Comment #8 from Bawolff (Brian Wolff) <[email protected]> ---
(In reply to comment #7)
> Unfortunately, it may be a little more complex, or there may be another bug
> to
> find. The bug you found the minimal test case for doesn't seem to account for
> the fact that on some categories, the DEFAULTSORT _is_ taken into account
> (e.g.
> Brian King in Category:People_educated_at_Sydney_Boys_High_School ).

That category is not inside a <ref> tag.

So if this was an example article

Lorem ipsum dolor sit amet,
[[category:Foo]] consectetur adipisicing elit, sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.
<ref>[[category:Bar]]</ref> Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur.
<references/>
{{DEFAULTSORT:xyzzy}}
Excepteur sint
[[category:Baz]]
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
id est laborum.

Category Foo and Baz would have the sortkey xyzzy, while Bar (being inside a
<ref>) would have the page's name as the sortkey. If {{DEFAULTSORT:xyzzy}} was
moved before the <references/> tag, then all three would have xyzzy as their
sortkey.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to