Jump to content

User:FR30799386/undo: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
FR30799386 (talk | contribs)
No edit summary
FR30799386 (talk | contribs)
No edit summary
Line 25: Line 25:
*Click on [[Special:MyPage/minerva.js|this link]] and paste.
*Click on [[Special:MyPage/minerva.js|this link]] and paste.
==Disclaimer==
==Disclaimer==
This script is beta software, so each and every revert should be checked after saving.
In case there is a bug, please report to [[User talk:FR30799386]].
In case there is a bug, please report to [[User talk:FR30799386]].
[[Category:Wikipedia scripts]]
[[Category:Wikipedia scripts]]

Revision as of 04:54, 9 January 2019

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
The undo button while using the script
DescriptionProvides a revert button on the mobile interface
Author(s)FR30799386
StatusBeta
Version2.0.0
UpdatedApril 30, 2020
    (4 years ago)
Browser supportChrome
Skin supportMiniveraNeue
SourceFR30799386/undo.js

Features

  • Adds a button labelled Undo just under the thanks button on the mobile interface
  • Built-in confirm dailog 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. (New in 2.0.0)
  • Changes the position of the thanks button and adds a confirmation dialogue to the thank button. (New in 2.0.0)
  • The label of the button is set according to the language set in the preferences. (New in 2.0.0)

Installation

  • Copy this :
    mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:FR30799386/undo.js&action=raw&ctype=text/javascript');
    
  • Click on this link and paste.

Disclaimer

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