User:Kiteretsu/undo-last-edit: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
m Protected "User:Infinityboy7/undo-last-edit": High-risk template or modules ([Edit=Allow only bureaucrats] (indefinite) [Move=Allow only bureaucrats] (indefinite) [Delete=Allow only bureaucrats] (indefinite) [Protect=Allow only bureaucrats] (indefinite))
Amos (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
| name = undo-last-edit
| name = undo-last-edit
| desc = Adds a menu item to a page to undo the last edit that was performed on it
| desc = Adds a menu item to a page to undo the last edit that was performed on it
| author = [[User:Infinityboy7|Infinityboy7]]
| author = [[User:Kiteretsu|Kiteretsu]]
| updated =
| updated =
| status = Stable
| status = Stable
| source = [[User:Infinityboy7/undo-last-edit.js]]
| source = [[User:Kiteretsu/undo-last-edit.js]]
| skins = Vector
| skins = Vector
| browsers = [[Wikipedia:Microsoft Edge|Edge]]
| browsers = [[Wikipedia:Microsoft Edge|Edge]]
Line 14: Line 14:


== Installation instructions ==
== Installation instructions ==
Hint: It's much easier if you get [[Mediawiki:Gadget-script-installer|ScriptInstaller]], then navigate to [[User:Infinityboy7/undo-last-edit.js]] and click "Install" at the top.
Hint: It's much easier if you get [[Mediawiki:Gadget-script-installer|ScriptInstaller]], then navigate to [[User:Kiteretsu/undo-last-edit.js]] and click "Install" at the top.


However, here's the manual method:
However, here's the manual method:
# Place {{tlxs|iusc|User:Infinityboy7/undo-last-edit.js}} on [[Special:MyPage/common.js]] or [[Special:MyPage/skin.js]].
# Place {{tlxs|iusc|User:Kiteretsu/undo-last-edit.js}} on [[Special:MyPage/common.js]] or [[Special:MyPage/skin.js]].
# Enjoy!
# Enjoy!

Latest revision as of 02:36, 30 August 2024

undo-last-edit
Description Adds a menu item to a page to undo the last edit that was performed on it
Author(s) Kiteretsu
Status Stable
Browser support Edge
Skin support Vector
Source User:Kiteretsu/undo-last-edit.js

A userscript to add a menu option to undo the last edit that was made to a page. That way, you don't have to navigate to the page's history first. The menu option will be in the "More" menu to the left of your search bar (for the Vector skin, which is used by default).

"undo-last-edit: for those moments where you just need to get rid of that last edit as quickly as possible."

Installation instructions

Hint: It's much easier if you get ScriptInstaller, then navigate to User:Kiteretsu/undo-last-edit.js and click "Install" at the top.

However, here's the manual method:

  1. Place {{subst:iusc|User:Kiteretsu/undo-last-edit.js}} on Special:MyPage/common.js or Special:MyPage/skin.js.
  2. Enjoy!