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

       Web browser: ---
            Bug ID: 47028
           Summary: Parsoid: Category links created with default-set
                    parameters get faulty sortkey set
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JS/General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Have a template like so:

[[Category:Foo {{{1|bar}}}]]


Use it in a page like so:

{{Categories|Bob}}


Output from Parsoid:

<link rel="mw:WikiLink/Category" href="./Category:Foo_Bob#Category:Foo%20Bob"
data-parsoid="{&quot;tsr&quot;:[0,18],&quot;src&quot;:&quot;{{Categories|Bob}}&quot;,&quot;dsr&quot;:[0,18,null,null]}"
about="#mwt1" typeof="mw:Object/Template">
<meta about="#mwt1" property="mw:TemplateParams"
content="[{&quot;id&quot;:&quot;mwt1&quot;,&quot;target&quot;:&quot;Template:Categories&quot;,&quot;params&quot;:{&quot;1&quot;:&quot;Bob&quot;}}]">


Note the wrongly-set category sort key of "Category:Foo%20Bob" - should instead
be blank.

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

Reply via email to