AjaxUndo
Description
Script for adding an Ajax undo link on history pages and diffs
Updated
Error: Page "MediaWiki:AjaxUndo.js" does not exist.
English (en) العربية (ar) беларуская (be) български (bg) bosanski (bs) català (ca) Deutsch (de) Ελληνικά (el) Esperanto (eo) español (es) suomi (fi) français (fr) Frysk (fy) हिन्दी (hi) hrvatski (hr) Bahasa Indonesia (id) italiano (it) 日本語 (ja) ქართული (ka) 한국어 (ko) Latina (la) latviešu (lv) македонски (mk) молдовеняскэ (mo) Napulitano (nap) Nederlands (nl) occitan (oc) polski (pl) português (pt) português do Brasil (pt-br) română (ro) русский (ru) shqip (sq) српски (ћирилица) (sr-ec) srpski (latinica) (sr-el) ไทย (th) Türkçe (tr) українська (uk) val 中文(简体) (zh-hans) 中文(繁體) (zh-hant) 中文(香港) (zh-hk) 中文(臺灣) (zh-tw) Translate! [
View ]
AjaxUndo adds an Ajax undo link next to the normal undo link on page histories and diffs. This undoes the selected revision without having to view and manually save the edit.
Installation
Add this to MediaWiki:ImportJS :
dev:AjaxUndo/code.js
importArticles
:
Add this JavaScript on your wiki (or add the highlighted text to your existing import statement):
importArticles ({ type : 'script' , articles : [ 'u:dev:MediaWiki:AjaxUndo/code.js' , ] });
Local:
Special:MyPage/common.js
Importing multiple scripts? This quick guide shows how to combine the imports. For personal use, note that personal JS must be enabled for your account. If the script requires configuration through MediaWiki:Common.js for sitewide use, don't forget to contact Fandom Staff to get it enabled on your wiki, if it isn't already enabled.
Text above can be found
here (edit )