[subbu@earth parsoid] echo "[[File:Foo.jpg|alt={{1x|http://google.com}}]]" | parse.js --wt2wt [[File:Foo.jpg|alt={{1x|http://google.com}}]] [subbu@earth parsoid] echo "[[File:Foo.jpg|link={{1x|http://google.com}}]]" | parse.js --wt2wt [[File:Foo.jpg|link=http://google.com]] [subbu@earth parsoid] echo "[[File:Foo.jpg|thumb={{1x|http://google.com}}]]" | parse.js --wt2wt [[File:Foo.jpg|thumb={{1x|http://google.com}}]]
The above is a reduced test case for the bug report below:
- Edit https://ro.wikipedia.org/w/index.php?title=Lista_sta%C8%9Biilor_de_metrou_din_Bucure%C8%99ti&oldid=10731003 in the Visual Editor and make any change anywhere on the page.
- Change to using the wikitext editor.
- The page contains some module invocations ({{#invoke:coordonate|link}}) which return a constant string. After the change, these have been substituted with the returned string. While visually correct, this makes maintenance much harder, should the geohack URL change in the future.