Jump to content

User talk:BilCat/Scripts/Revert tools-uw

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Instructions

[edit]

Installation

[edit]

To install the script:

  • Edit your monobook.js page.
  • Copy/Paste the following script into the edit box, and save. Follow the displayed instruction to bypass your browser cache.
importScript('Wikipedia:WikiProject User scripts/Scripts/Revert tools');

Usage

[edit]

Go to any diff page and these links will be placed at the top under "From Wikipedia, the free encyclopedia".

(Revert / Message) (Vandalism / Message) (Warn: Test / Blatant / Nonsense / Blanking)
  • Revert: Will revert the edit and put this in the edit summary: Reverted edits by [user] to version [version] by [user].
  • Message: Displays a dialogue box for you to enter a message (Ie. Why you reverted it) and will put it in backets after the "Reverted edits..." bit.
  • Vandalism/Message: Does the same as above but displays "Reverted vandalism" instead of "Reverted edits".
  • Warnings: Will subst the relevant warnings on the editors talk page.