Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Installation  



1.1  Simple  





1.2  Manual  







2 Comments/bug reports  














User:Eejit43/scripts/ajax-undo

















User page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
User contributions
User logs
View user groups
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< User:Eejit43 | scripts


User script
ajax-undo
Top: history view before button click
Bottom: diff view after button click
DescriptionUser script to easily undo edits
Author(s)Eejit43
First releasedFebruary 16, 2023; 17 months ago (2023-02-16)
UpdatedJanuary 8, 2024; 6 months ago (2024-01-08) (see GitHub commit history)
Browser supportTested on Chromium
Skin support
  • Vector
  • Timeless
  • MonoBook
  • Modern
  • Minerva Neue
  • Cologne Blue
  • SourceUser:Eejit43/scripts/ajax-undo.js
    GitHub repositoryajax-undo.ts

    This user script adds a link following "undo" on page histories and diff views, allowing the edit to be undone without leaving the history/diff page. It allows for an optional comment to add to the edit summary.

    Installation

    Simple

    Install Enterprisey's "script-installer" (atPreferences → Gadgets → Advanced → Tick Install scripts without having to manually edit JavaScript files (documentation)), then come back to this page and click the "Install" button in the infobox on the right.

    Manual

    Add the following to your common.js (or a skin specific JavaScript page):

    {{subst:install user script|User:Eejit43/scripts/ajax-undo.js}}

    Comments/bug reports

    Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.


    Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/ajax-undo&oldid=1194532061"

    Category: 
    Wikipedia scripts
     



    This page was last edited on 9 January 2024, at 13:01 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki