Feature summary:
Add a "hide unchanged translation units" checkbox in Special:PageTranslation. Helpful to skip those tedious and useless part in "New and existing translation units" section.
Benefits: Clear view for translation admin to review what translation unit is added/deleted/modified.
Prototype: I already have a userscript (special thanks to author @WhitePhosphorus) which implement this feature, and I would like this become part of the translate extension.
if (mw.config.get('wgCanonicalSpecialPageName') === 'PageTranslation'){ var hideTptOld = new OO.ui.CheckboxInputWidget({ selected: false }); var hideTptOldField = new OO.ui.FieldLayout(hideTptOld, { label: 'Hide unchanged translation units', align: 'inline' }); hideTptOld.on('change', function() { if (hideTptOld.isSelected()) { $('.mw-tpt-sp-section-type-old').hide(); } else { $('.mw-tpt-sp-section-type-old').show(); } }); $('.mw-tpt-sp-markform').prepend(hideTptOldField.$element); }