Feature summary:
Add "select all" function for nofuzzy choosebox in Special:PageTranslation. Sometimes I replace the old tvar format <tvar|1> with the new one <tvar name="1">. When I mark the latest revision for translation, a lot of translate unit will let me choose if I would like to "Do not invalidate translations" (like the following screenshot). When there is a large number of such choosebox waiting for me to click, it takes a lot of time to select all of them. Because of this, I think it will become more convenient for me if a "select all" option is added.
Use case : Just like the summary above described, bulk choose for nofuzzy choosebox.
Benefits: Save time, bring convenient to translation admin.
Implementation
We can add a new checkbox: Do not invalidate translations for any translation unit. If the user selects this checkbox, on the server side we can update the code to not mark any translations as fuzzy / invalidated.
Additionally, we could add JavaScript code that would select all the Do not invalidate translations checkboxes when the Do not invalidate translations for any translation unit checkbox is selected. If any of the checkboxes with Do not invalidate translations is then un-selected, the Do not invalidate translations for any translation unit would also be un-selected. This code can be added in the existing: ext.translate.special.pagetranslation.js file.
We would still want to do the server side check to have the functionality usable even if JavaScript is disabled.
The location of the new checkbox could be as follows,











