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

       Web browser: ---
             Bug #: 38435
           Summary: Sortkey for categories is ignored when category is
                    inside a <ref> and DEFAULTSORT comes after
                    <references/>
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
               URL: http://de.wikipedia.beta.wmflabs.org/wiki/Ref-sort
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Cite
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


See URL for an example. The source is like this:

Text<ref>[[Category:Test]]</ref>[[Category:Test2]]

<references />

{{DEFAULTSORT:Sortkey}}

Expected result:
In both categories the article should be put under S.

Actual result:
Only in Category:Test2 the article is under S, in Category:Test it is sorted as
its title says.

When you put the DEFAULTSORT before the <references/> it works as expected.

I don't know how this is handled internally, so this could be just a duplicate
of bug 2700.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to