New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fluff: Hide the rollback links on the latest version in the history when all versions are made by the same user #1062
Comments
Nice idea! Might be quicker to use JS and push to an array, but I don't think it should take too much time overall unless someone's looking at 500, etc. revs at a time. Couldn't we also just take that first username, then iterate over the list until we find one that doesn't match? Might be faster. |
That's better! |
…s just one user Closes wikimedia-gadgets#1062. Only really makes sense if multiple consecutive revdel'd users are treated as one (wikimedia-gadgets#1069).
…s just one user Closes wikimedia-gadgets#1062. Only really makes sense if multiple consecutive revdel'd users are treated as one (wikimedia-gadgets#1069).
…s just one user Closes wikimedia-gadgets#1062. Only really makes sense if multiple consecutive revdel'd users are treated as one (wikimedia-gadgets#1069).
Hide "[rollback] [vandalism]" links, because rollback will fail.
You may be able to simply use the following code to check it.
Sample pages:
https://en.wikipedia.org/w/index.php?title=Othana&action=history
https://en.wikipedia.org/w/index.php?title=User:Xiplus/sandbox&action=history
The text was updated successfully, but these errors were encountered: