User:Ugochimobi/undo

From Meta
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
mobileUndo
Description Provides a revert button on the mobile interface
Author(s) Ugochimobi
Status Ready for extensive use
First released July 21, 2021; 10 days ago (2021-07-21)
Version 2.0.2
Updated September 20, 2019; 22 months ago (2019-09-20)
Browser support Works on most modern browsers barring Opera Mini.
Skin support Minerva Neue
Source Ugochimobi/undo.js

Features[edit source]

  • Adds a button labeled 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 that are protected and prevent 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 Miraheze project where English is not the main language(New in 2.0.1)
  • Cross-wiki compatibility(New in 2.0.1)

Installation[edit source]

  • Copy this :
    mw.loader.load('//meta.miraheze.org/w/index.php?title=User:Ugochimobi/undo.js&action=raw&ctype=text/javascript'); // [[User:Ugochimobi/undo.js]]
    
  • Click on this link and paste.

Disclaimer[edit source]

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