User:Kunalgrover05/Updating translation page on moving deleting translation units
Moving translation units
editUsing hook for TitleMoveComplete for running the method
Patch: https://gerrit.wikimedia.org/r/#/c/145057/(Merged)
- 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
- Solution:
- 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
- Solution:
Deleting translation units
editFurther tasks
edit- Writing unit tests