Page MenuHomePhabricator

html2wt: category links (and probably other such) with a parser-function generated piece doesn't roundtrip properly
Open, NormalPublic

Description

[subbu@earth:~/work/wmf/mediawiki] echo '[[Category:Hooks{{#translation:}}]]' | parse.js --prefix mediawikiwiki --pageName 'Manual:Hooks' --wt2wt
[[Category:Hooks{{|<nowiki>translation:}}</nowiki>]]

[subbu@earth:~/work/wmf/mediawiki] echo '[[Category:Hooks{{#translation:}}]]' | parse.js --prefix mediawikiwiki --pageName 'Manual:Hooks/de' --wt2wt
[[Category:Hooks{{|<nowiki>translation:}}</nowiki>]]

I think the handle that deals with expanded-attributes expects templates, whereas in this case it is a parser function.

Event Timeline

ssastry created this task.Apr 24 2018, 2:04 PM
Restricted Application added subscribers: jeblad, Aklapper. · View Herald TranscriptApr 24 2018, 2:04 PM
Vvjjkkii renamed this task from html2wt: category links (and probably other such) with a parser-function generated piece doesn't roundtrip properly to mceaaaaaaa.Jul 1 2018, 1:14 AM
Vvjjkkii raised the priority of this task from Normal to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
AfroThundr3007730 renamed this task from mceaaaaaaa to html2wt: category links (and probably other such) with a parser-function generated piece doesn't roundtrip properly.Jul 1 2018, 6:51 AM
AfroThundr3007730 lowered the priority of this task from High to Normal.
AfroThundr3007730 updated the task description. (Show Details)
AfroThundr3007730 added a subscriber: Aklapper.
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptMon, Jun 10, 7:59 PM