Last modified: 2014-02-22 08:59:33 UTC
Please activate [[mw:Extension:DeleteBatch]] and [[mw:Extension:UndeleteBatch]] on Wikimedia Commons. The topic was discussed and there was a consensus on the subject (see https://commons.wikimedia.org/wiki/Commons:Village_pump/Proposals#mw:Extension:DeleteBatch_and_mw:Extension:UndeleteBatch ).
Neither of these extensions are currently deployed, or reviewed for deployment on Wikimedia wikis Undeletebatch is also only on github, and looks to be essentially a copy paste of DeleteBatch https://github.com/leucosticte/UndeleteBatch - Not good for maintainability
I agree, the implementation kinda sucked, but it was a quick-and-dirty solution for undoing some ill-advised batch deletions on my third party wikis. I didn't feel like going through the code review process for getting changes merged to DeleteBatch, since then the code would actually have to conform to "standards" and "conventions" and be of high "quality" (my fingers are getting tired from all these air quotes). But if someone else wants to take inspiration from what I did and add undelete functionality to DeleteBatch, that would probably be an excellent idea. I just figured, what I created is better than nothing, for those who immediately needed to undelete a bunch of stuff. Bug 59796 might be considered a blocker for the second half of this bug.
See steps listed on https://www.mediawiki.org/wiki/Review_queue
DeleteBatch should use HTMLForm instead of trying to create its own implementation.