User:Kunalgrover05/Updating translation page on moving deleting translation units


Moving translation units[edit]

Using hook for TitleMoveComplete for running the method


Difficulties faced
The move hook should not be fired multiple times in case a translation page is moved, causes the process to be highly inefficient and expensive
First solution a hack to check if the old message handle is valid, not in case of moving a translation page as the page itself is removed while doing the move
Current solution- Using a static variable to check if job queue is running

Deleting translation units[edit]


Further tasks[edit]

Writing unit tests