Last modified: 2010-05-15 16:03:13 UTC
User with rollback-access has "rollback"-link to administrator-only pages when viewing diff. In history, the link is not displayed.
Tested on no.wikipedia, with MediaWiki:, User:xxx/monobook.js and protected pages for administrators only.
Clicking the link only gives error, but the link should not be displayed when the user does not have access to it.
Created attachment 4914 [details]
Checks to see if a user can edit an article before generating a rollback link
I added getUserPermissionsErrors() from PageHistory.php
Done in r35571