https://bugzilla.wikimedia.org/show_bug.cgi?id=29443

       Web browser: ---
             Bug #: 29443
           Summary: [[Special:Undelete]] should use JavaScript to invert
                    all checkboxes without reloading the page
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


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]]

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to