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

How is this script allowed?

I'm curious as to how this script is allowed to exist. Yes rollback is a simple group but allowing anyone to rollback edits goes against wiki operations in which individual wiki's decide who gets tools like this. Do these edits not appear in Special:WikiActivity like standard rollback edits or is this a glorified undo? This is one of the problems I have with such a script - random users performing rollbacks that could potentially go unnoticed and are immune to demotion by bureaucrats on the wiki in question. DEmersonJMFM 17:08, April 14, 2016 (UTC)

Why wouldn't it be allowed? (And what do you mean by allowed, exactly?) All it does is automate a procedure that is fairly trivial anyway - go to the page history, click a revision timestamp, hit edit, then save, and you've just "rollbacked" the page - this script just adds a nice edit summary to go with! - OneTwoThreeFall (talk) 18:03, April 14, 2016 (UTC)
similar to how staff is allowing the reversed engineered nuke extension, as long as people are not abusing this it will be fine. Be careful in using nuke as well as this script, while the former is locked to sysop; doesn't mean you can't get blocked for it. that being said, not that many people know of this wiki's scripts and thus limits how many people are actually using this. staff can always take these types of scripts away due to abuse by others.
republishing a former timestamp is basically rollback, the actual tool and this script just makes it faster. Nerfmaster8 (talk) 19:55, April 14, 2016 (UTC)
Staff verify the script to be published for import and here they did as well as nuke - if things go terribly wrong they will revert this. For now I would not worry about abuse. – Ozuzanna 22:55, April 14, 2016 (UTC)


I found an issue with this script:

Rollback problem

Is there a way to remove the w:c:dev:Rollback part of the edit summary? That’d be great.[Template fetch failed for] 15:50, July 13, 2016 (UTC)

Put this code in your wikia.js or global.js.-- DarkBarbarian.png Barbar (talk) 16:27, July 13, 2016 (UTC)
Thanks, but it doesn’t work, because when I copy it, it doesn’t have the spaces and tabs. I want to copy the source code but can’t; I get an error: “You can not perform this action right now. Please try again in a few minutes, or contact Wikia if you are having difficulties.”
Could you please give me the source code of the page? Cheers.[Template fetch failed for] 16:41, July 13, 2016 (UTC)
The issue is due to API limitation of number of characters allowed in edit summary. Only happens for users with long names. Ozank Cx (talk) 18:57, July 13, 2016 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── I see. Thank you. Is there no way to view it? If not, I hope that DarkBarbariab gives me the source code.[Template fetch failed for] 19:05, July 13, 2016 (UTC)

When this script was new I was asked to put in the link to distinguish the rollback to actual rollbacks from people with the usergroup. The version DarkBarbarian showed strips the link out so its identical to the real rollback summary. Ozank Cx (talk) 20:12, July 13, 2016 (UTC)
You’re misunderstanding. I just need the source code of the wikia.js page so that I can copy it into my global.js.[Template fetch failed for] 20:23, July 13, 2016 (UTC)

Never mind; I just solved it myself by going to MediaWiki:Rollback/code.js, copying the code, pasted code to my global.js, and removing the last part of the summary.[Template fetch failed for] 00:00, July 14, 2016 (UTC)

That's exactly what I did. :D By the way, I was able to copy the code without being in the editor. I can't explain why that doesn't worked for you... -- DarkBarbarian.png Barbar (talk) 10:13, July 14, 2016 (UTC)
I was able to copy it, but it does not copy line breaks; therefore, the script is unusable after pasting it into my global.js.[Template fetch failed for] 01:38, July 15, 2016 (UTC)
Hmm. But, the main thing is that now you have the correct code. :) -- DarkBarbarian.png Barbar (talk) 13:50, July 16, 2016 (UTC)


Hello. Could add a way to add translations to the script and he could detect the language of the wiki in the use that script? (Like this one). (Sorry any error in my English) -- Ultragustavo25 | Mural 00:50, August 10, 2016 (UTC)

I'll try find a way to add i18n when I have the time. Ozank Cx (talk) 13:21, September 5, 2016 (UTC)

Recent changes

Can I be terrible and ask if you could make the "rollback" button also appear in the Recent changes? (Just like the regular rollback button, for people with actual rollback rights) Sandubadear (talk) 03:21, September 5, 2016 (UTC)

I'll consider it. Ozank Cx (talk) 13:21, September 5, 2016 (UTC)

Summary Length glitch

Hello, thanks for adding a long length detection but the summary does not have its length 150 characters or above and when I try to rollback an edit by a user with shorter name, it just shows the summary that would appear if I rollback an edit by a user with longer name. Thanks!! MarTsok 10:26, September 24, 2016 (UTC)

Summary Length

I always preferred the longer edit summary, since it was closer in appearance to the real rollback summary. I'm tempted to restore the old rollback summary, but if I did, someone would probably change it back. ― C.Syde (talk | contribs) 22:06, November 9, 2016 (UTC)

Rollback Link Script Mishap

Is it possible to modify the Java Script for this script, since the rollback link always points to whichever revision is the latest version of the page. Whereas for a real rollback, the rollback link points towards the revision that was the latest version when the user last loaded the page.

Because the rollback script will always point towards the latest version, if someone has already reverted the undesirable edit, and the user clicks the rollback script link, then they'll end up reverting that user's own reversion of the undesirable edits, so they'll unintentionally end up restoring the undesirable edits, rather than reverting them. ― C.Syde (talk | contribs) 22:06, November 9, 2016 (UTC)

Script no longer tags the revert as a minor edit

I've noticed that since the script was fixed, it no longer marks it as a minor edit, which kinda bugs me because it doesn't match how the normal rollback button works. ― C.Syde (talk | contribs) 04:20, August 11, 2017 (UTC)

The Rollback Summary is outdated

The script summary should be updated to match the default rollback summary, so that it's consistent, because it should be made as close as possible to the original thing, but with the optional shorter summary, if the first summary is too long, and the link to the script which it already has. ― C.Syde (talk | contribs) 10:28, November 26, 2017 (UTC)

Completed MarTsok 21:24, November 26, 2017 (UTC)

How to activate?

I activated it on warehouse13. I dont know howto use it. MechQueste talk 23:15, November 27, 2017 (UTC)

Confirmation dialog

This is a really usefull script to rollback vandalism edits quickly at any Wiki. But I think a confirmation dialog is needed to not accidentally trigger a rollback if you hover and click for some reason at this button. I know it may sound stupid but safety comes first. -- Bryan VANGUARD.svg ( talk | c | dev ) 13:19, January 28, 2018 (UTC)