wiki-monkey icon indicating copy to clipboard operation
wiki-monkey copied to clipboard

Hide rollback links

Open lahwaacz opened this issue 10 years ago • 4 comments

When checking the operation of my bot, I usually go to this page and open up the diffs. The problem is that due to long edit summaries, the "rollback X edits" links are often rendered exactly between the "diff" links, so one misplaced click may end up really badly. Also the same issue occurs sometimes on the RecentChanges page.

On Wikipedia, there is at least the RemoveRollback script, although I'd rather hide the rollback links only in the lists and not in diffs. Could you implement something similar in Wiki Monkey?

lahwaacz avatar Jul 24 '15 22:07 lahwaacz

Oh yes, those links have always been in my way too, and I've made the mistake more than once in the past. I had never thought of hiding them though, this is a great idea.

As an expansion, I think I may even make them optionally reappear on mouseover in a safer place, or I could insert a confirmation dialog somehow.

kynikos avatar Jul 25 '15 16:07 kynikos

I couldn't wait, the basic implementation is already in the develop branch.

kynikos avatar Jul 25 '15 17:07 kynikos

For consistency, rollback links should be optionally hideable also in history pages.

kynikos avatar Jul 26 '15 04:07 kynikos

Perhaps, but there is only one rollback link per history page... Anyway, it works great so far!

lahwaacz avatar Jul 26 '15 10:07 lahwaacz