Currently, if an admin goes to [[Special:Undelete]] to undelete various revisions of certain page, he may want to invert the selection of all checkboxes. If he clicks in the [ Invert selection ] button, the page will be reloaded in order to invert the selection.
On [[Special:Search]], there are two buttons ([ All ] / [ None ]) which uses JavaScript to set the state of the checkboxes, so that the page doesn't needs to be reloaded. Both buttons calls the function
mwToggleSearchCheckboxes()
which is defined at
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/search.js?annotate=77922#l24
I think the same idea should be applied on [[Special:Undelete]].
Indeed, right now, there is a gadget on Wikibooks which does exactly that:
- [[MediaWiki:Gadget-purgetab.js]]
Version: 1.20.x
Severity: enhancement