Last modified: 2013-07-04 10:33:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47028 - Parsoid: Category links created with default-set parameters get faulty sortkey set
Parsoid: Category links created with default-set parameters get faulty sortke...
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Mark Holmquist
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-09 00:44 UTC by James Forrester
Modified: 2013-07-04 10:33 UTC (History)
4 users (show)

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


Attachments

Description James Forrester 2013-04-09 00:44:32 UTC
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.
Comment 1 Mark Holmquist 2013-04-15 21:44:51 UTC
I'll look into this.
Comment 2 Mark Holmquist 2013-04-15 22:31:31 UTC
Patch in - https://gerrit.wikimedia.org/r/59336
Comment 3 Gabriel Wicke 2013-04-19 20:24:53 UTC
And about to be merged once Jenkins gets around to do it.
Comment 4 Andre Klapper 2013-07-04 10:33:12 UTC
[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]

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


Navigation
Links