Page MenuHomePhabricator

Parsoid: Cannot change case of first letter of wikilinked text
Closed, ResolvedPublic


It seems that the case of the first letter of an existing wikilink cannot be changed with VE, as it does not seem to recognize that anything has been altered.

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:45 AM
bzimport set Reference to bz50765.

Nasty logic bug; sorry about this.

Changing the label of [[Foo]] to lower case in VE correctly generates:

<a href="./Foo" rel="mw:WikiLink" data-parsoid="{&quot;stx&quot;:&quot;simple&quot;,&quot;a&quot;:{&quot;href&quot;:&quot;./Foo&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;Foo&quot;},&quot;dsr&quot;:[0,7,2,2]}">foo</a>

which serialises to [[Foo]].

Without data-parsoid it serialises correctly to [[foo]].

Change 74561 had a related patch set uploaded by GWicke:
Bug 50765: Allow content case modification in simple links

Change 74561 merged by jenkins-bot:
Bug 50765: Allow content case modification in simple links