Last modified: 2014-11-17 10:36:45 UTC
mediawiki.special.recentchanges.js defines a logic to disable some checkboxes depending on the state of a namespace selector. This logic is also needed on Special:Contributions and Special:Watchlist (when added, see bug 31704). Having a reusable module for this makes it easy to add that the the other special pages. Please create a module for this. I have no idea for a name of a new module or a good concept for a module design. Thanks.
And since today also for Special:NewPages
Special:Watchlist was fixed with Gerrit change #94617
If the forms are rewritten to use HTMLForm, you could: * Convert the entire namespace selector functionality into a HTMLFormField subclass (dropdown + 2 checkboxes), a bit like HTMLSelectOrOtherField. * Then add the code from mediawiki.special.recentchanges.js to mediawiki.htmlform.js, which already has some form logic (e.g. for <select> fields enhanced with jquery.chosen). All this, of course, would be very boring, like most refactorings. :)