AjaxUndo
Description
Script for adding an Ajax undo link on history pages and diffs
Updated
September 8, 2016
English (en) беларуская (be) español (es) polski (pl) русский (ru) српски / srpski (sr) srpski (latinica) (sr-el) українська (uk) 中文 (zh) 中文(繁體) (zh-hant)
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.
Add this to MediaWiki:ImportJS :
dev:AjaxUndo.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.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.