Input wikitext:
#REDIRECT [[Foo]]
Output HTML:
<link rel="mw:PageProp/redirect" href="./Foo" data-parsoid='{"src":"#REDIRECT ","a":{"href":"./Foo"},"sa":{"href":"Foo"},"dsr":[0,17,null,null]}'>
Modified HTML (href set to "Bar"):
<link rel="mw:PageProp/redirect" href="Bar" data-parsoid='{"src":"#REDIRECT ","a":{"href":"./Foo"},"sa":{"href":"Foo"},"dsr":[0,17,null,null]}'>
Output wikitext:
#REDIRECT [[Bar|Foo]]
The real WTF here is that that actually *works*, it redirects to Bar like it's supposed to.
Version: unspecified
Severity: normal