Page MenuHomePhabricator

Refactor SpecialTranslate code to make it more readable and improve its design
Open, HighPublic

Description

I am having a hard time trying to debug issues related to tux and Special:Translate. I have to wade through the code because things seems to be scattered across all over the codebase. This is making the code extremely fragile and bugs seem to be introduced even with minor changes to unrelated places. It would definitely be worthwhile to spend some time trying to refactor and clean up this whole page and its related code so that is in a more readable and understandable manner.

Event Timeline

Nikerabbit subscribed.

I honestly agree with you. Things are not made better by the fact that we never finished the TUX work to the extend that the old interface could be fully removed. I am cleaning small bits here and there when I come across something bad. But with this speed it will take forever if I don't get any help.

Glaisher renamed this task from Refactor SpecialTranslate code and make it more readable to Refactor SpecialTranslate code to make it more readable and improve its design.Jun 26 2016, 5:38 AM

https://gerrit.wikimedia.org/r/#/c/372434/ once merged will remove legacy code. But it doesn't help much for this task.