FANDOM


m (Rollbackers only?: reply)
Line 63: Line 63:
   
 
:: Yes, it never did, so there is nothing that needs to be fixed. However, you can contact the author of this script and suggest to them to add this functionality. —''[[User:Monochromatic Bunny|Monochromatic Bunny]]'' | [[User talk:Monochromatic Bunny|☎]] 07:27, September 6, 2016 (UTC)
 
:: Yes, it never did, so there is nothing that needs to be fixed. However, you can contact the author of this script and suggest to them to add this functionality. —''[[User:Monochromatic Bunny|Monochromatic Bunny]]'' | [[User talk:Monochromatic Bunny|☎]] 07:27, September 6, 2016 (UTC)
  +
  +
== Not working ==
  +
Doesn't seem to be working right now, keep getting a "Unknown result from API" error whenever I use it. --'''''[[User:SuperSajuuk|Sa]][[User talk:SuperSajuuk|ju]][[Special:Contributions/SuperSajuuk|uk]]''''' 18:57, November 1, 2016 (UTC)

Revision as of 18:57, November 1, 2016

This is the talk page for discussing improvements to the AjaxUndo page.

Translations

How to add translations for this code?
MarkosBoss (dyskusjawkład) 16:27, November 21, 2011 (UTC)

Benefit?

What is the benefit of AjaxUndo over regular undo? Thanks! :) — SpikeToronto 04:50, October 10, 2012 (UTC)

NVM. I get it now. — SpikeToronto 05:12, October 10, 2012 (UTC)

Diff undo

If you try to undo a diff between "distant" revisions, the script will undo just the last revision and won't restore the revision you are making the diff with. leviathan_89 13:23, February 16, 2013 (UTC)

This issue is still present. leviathan_89 09:20, May 26, 2013 (UTC)

I believe that is intentional, by design. :) — SpikeToronto 04:55, July 24, 2014 (UTC)

custom messagebox

This script does not allow for entering an additional edit summary; the default summary of Undo revision XX by XXX is used. Is it possible for say a little box that appears near this button so that an additional edit summary can be entered before the button is pressed, with Undo revison XX by XXX as the default summary?

E.g. A user has just entered unconfirmed content on a page. By default, the existing edit summary in the "box" is something like (e.g.) Undo revision 96098 by 173.86.106.21 (talk). By adding "Unconfirmed - " to the beginning of the box, the new edit summary is Unconfirmed - Undo revision 96098 by 173.86.106.21 (talk).

Can this script be modified to do that? — SW8573 (Talk) 15:10, May 10, 2013 (UTC)

Description

What does this script actually do? The description offers no explanation of the function and I'd rather not find out by randomly clicking links. ~Bobogoobo (talk) 11:09, August 19, 2013 (UTC)

It does exactly what the undo link does, except that it uses Ajax to do it. This means it performs the undo action with one click and without leaving the page. The reason to want this is that it saves time, as the normal undo link requires you to click it, load the undo edit page, and then click save. Cheers, grunny@fandom:~$ 13:43, August 19, 2013 (UTC)
Ah, I see, thanks. ~Bobogoobo (talk) 17:00, August 20, 2013 (UTC)

Recent Changes?

Is there any way to get this to appear in Recent Changes?

Spydar007 (Talk) 09:54, September 29, 2013 (UTC)

Yes, but to me there's not much point. Undoing is normally used to remove incorrect edits made in good faith. I might use it to fix a misclick I made somewhere or a blatant error made by someone I know that doesn't require explanation. Using AjaxUndo from RC implies that you haven't checked the edit in the first place (because if you had you'd be able to undo it from the diff) and are dealing with a persistent known vandal who requires blocking. In this case rollback is a more suitable tool, which use of implies removal of blatant misinformation/vandalism. And rollback appears in recent changes already. cqm 00:52, 1 Oct 2013 (UTC)
I suppose, but can you try and include it anyway please?
Spydar007 (Talk) 16:18, October 1, 2013 (UTC)

Rollbackers only?

Can this be made so that it only appears if one has rollback privileges, sysop, etc.? If it were, then it could be added site-wide, yet only be available for all those who’ve been entrusted with the rollback bit. Thanks! — SpikeToronto 04:54, July 24, 2014 (UTC)

This is a very late reply but you can do this:
if (wgUserGroups.includes('rollback')) {
    importScriptPage('MediaWiki:AjaxUndo/code.js', 'dev');
}
--Sophie 16:14, September 24, 2016 (UTC)

AjaxDiff

It works! I like it! But there is a problem what I would like to be fixed.It doesn't work with AjaxDiff or QuickDiff.Can you please fix it? Thanks!

PeridotLenhigem.png~~Peridoork 18:49, September 5, 2016 (UTC)

According to the original coding, it never did. -- That Rainbow Hugging Bud ^-^ 04:03, September 6, 2016 (UTC)
Yes, it never did, so there is nothing that needs to be fixed. However, you can contact the author of this script and suggest to them to add this functionality. —Monochromatic Bunny | 07:27, September 6, 2016 (UTC)

Not working

Doesn't seem to be working right now, keep getting a "Unknown result from API" error whenever I use it. --Sajuuk 18:57, November 1, 2016 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.