Jump to content

User:FunIsOptional/RestoreButton

From Wikipedia, the free encyclopedia

RestoreButton is a simple user script created by FunIsOptional that adds a "restore" button on history pages, next to the undo and thank buttons, to more quickly make a manual reversion. Pressing restore will open the editor on that revision; the steps following that are identical to a normal manual reversion. This user script does not perform any automated actions other than adding a hyperlink to history pages.

Installation

[edit]

Add the following string to your common.js, save it (create it if it doesn't exist), and then clear your cache.

importScript('User:FunIsOptional/RestoreButton.js');

The script will automatically activate on history pages. For uninstallation, remove the string from your common.js and save it, then clear your cache again.