GSoC/GCI Archive
Google Code-in 2013 Wikimedia

[Insertables] Variable names containing hyphen are truncated

completed by: Mateusz Maćkowski

mentors: Kartik Mistry

1. Open URL:
https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FNews%2F2013%2F51&action=page&filter=translated&language=fi&tux=1
2. Search for the "You can now test the new search tool" in filter, Click on the English text on left.
3. Blank the text area.

a. Observed: the source text contains "$mw-search" but insertable is "$mw".
b. Expected: insertable "$mw-search".
See also:
1. Bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=58746
2. Related bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=58445