Fandom Developers Wiki
Line 79: Line 79:
 
:Is there any active maintainer or anything? Just looking for anyone that knows anything. {{User:RyaNayR/sig|04:06, January 31, 2019 (UTC)}}
 
:Is there any active maintainer or anything? Just looking for anyone that knows anything. {{User:RyaNayR/sig|04:06, January 31, 2019 (UTC)}}
 
:: That's the MediaWiki autosummary for undoing. If Fandom doesn't link to walls in the autosummary, the script won't either. Besides, User talk namespace redirects to the Message Wall namespace anyways. -- <span style="color: #FFD300; font-family: Courier New;">[[User:KockaAdmiralac|<span style="color: #FFD300; font-family: Courier New;">Cube</span>]]-[[User talk:KockaAdmiralac|<span style="color: #FFD300; font-family: Courier New;">shaped</span>]] [[Special:Contribs/KockaAdmiralac|<span style="color: #FFD300; font-family: Courier New;">garbage can</span>]]</span> 07:17, January 31, 2019 (UTC)
 
:: That's the MediaWiki autosummary for undoing. If Fandom doesn't link to walls in the autosummary, the script won't either. Besides, User talk namespace redirects to the Message Wall namespace anyways. -- <span style="color: #FFD300; font-family: Courier New;">[[User:KockaAdmiralac|<span style="color: #FFD300; font-family: Courier New;">Cube</span>]]-[[User talk:KockaAdmiralac|<span style="color: #FFD300; font-family: Courier New;">shaped</span>]] [[Special:Contribs/KockaAdmiralac|<span style="color: #FFD300; font-family: Courier New;">garbage can</span>]]</span> 07:17, January 31, 2019 (UTC)
:::It didn't for me :\ I just got a blank page. I was expecting it to do like you said. I Guess that's a Staff thing I'll bring up to ''them''. {{User:RyaNayR/sig|07:45, January 31, 2019 (UTC)}}
+
:::It didn't for me :\ I just got a blank talk page. I was expecting it to do like you said. I Guess that's a Staff thing I'll bring up to ''them''. {{User:RyaNayR/sig|07:45, January 31, 2019 (UTC)}}

Revision as of 07:46, 31 January 2019

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:~$ 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!

15?cb=20151014002044~~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)

Ummm......

For some reason, whenever I'm on a wiki with AJAX Undo for the whole site, and I have it in my global.js, there appears to be two links. Cheetawolfnitrotyper (talk) 17:42, March 7, 2018 (UTC)

I added double-loading prevention now, so that shouldn't happen once the script is approved. -- Cube-shaped garbage can 19:15, March 7, 2018 (UTC)

Contributions

I think this script would be more useful if it appears on users' contribs pages. It's needed when there's obvious vandal and you must open all diffs to revert harmful changes, that's annoying. Rail My talk 11:13, July 16, 2018 (UTC)

MessageWall support

This script seems to lack MessageWall support. I'm seeing a talk page link in the edit summary on wikis with MessageWall enabled... —RyaNayR (talkcontribs) 03:37, January 31, 2019 (UTC)

Is there any active maintainer or anything? Just looking for anyone that knows anything. —RyaNayR (talkcontribs) 04:06, January 31, 2019 (UTC)
That's the MediaWiki autosummary for undoing. If Fandom doesn't link to walls in the autosummary, the script won't either. Besides, User talk namespace redirects to the Message Wall namespace anyways. -- Cube-shaped garbage can 07:17, January 31, 2019 (UTC)
It didn't for me :\ I just got a blank talk page. I was expecting it to do like you said. I Guess that's a Staff thing I'll bring up to them. —RyaNayR (talkcontribs) 07:45, January 31, 2019 (UTC)