kynikos / wiki-monkey

MediaWiki-compatible bot and editor assistant running directly in the browser and expandable with plugins.
https://github.com/kynikos/wiki-monkey/wiki
GNU General Public License v3.0
15 stars 5 forks source link

Hide rollback links #218

Open lahwaacz opened 9 years ago

lahwaacz commented 9 years ago

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?

kynikos commented 9 years ago

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 commented 9 years ago

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

kynikos commented 9 years ago

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

lahwaacz commented 9 years ago

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