From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

mobileUndo (source) is a script which adds a button which allows a user to perform a revert while using the MobileFrontend extension of MediaWiki.

User script
The undo button while using the script
DescriptionProvides a revert button on the mobile interface
StatusReady for extensive use
First releasedNovember 26, 2018; 4 years ago (2018-11-26)
UpdatedSeptember 20, 2019; 3 years ago (2019-09-20)
Browser supportWorks on most modern browsers barring Opera Mini.
Skin supportMinerva Neue


  • Adds a button labelled Undo just under the thanks button on the mobile interface
  • Built-in confirm dialog by way of a prompt for an edit summary.
  • Detects suppressed revisions and prevents reverts when the revision cannot be accessed.
  • Detects pages which are protected and prevents reverts.
  • Changes the position of the thanks button and adds a confirmation dialogue to the thank button.
  • The label of the button is set according to the language set in the preferences.
  • Edit summary in different languages if used in another Wikimedia project where English is not the main language(New in 2.0.1)
  • Cross-wiki compatibility(New in 2.0.1)


  • Copy this :
    mw.loader.load('//'); // [[User:FR30799386/undo.js]]
  • Click on this link and paste.


In case there is a bug, please report to User talk:FR30799386.