To reproduce:
- Login using an account that has rollback rights but not admin rights.
- View [[Special:RecentChanges]] in MediaWiki namespace.
Current result:
There is a "rollback" link after the name of each Mediawiki page. Clicking that link gives an error: "You do not have permission to quickly rollback the edits of the last user who edited a particular page... etc"
Expected result:
This shouldn't be links to rollback MediaWiki pages in recent changes for non-admin users because they can't edit pages in MediaWiki namespace.
This bug was encountered on arwiki.
MediaWiki 1.22wmf4 (281e88a)
PHP 5.3.10-1ubuntu3.6+wmf1 (apache2handler)
MySQL 5.1.53-wm-log
LuaSandbox 1.6-1
Lua 5.1.4