Rollback has link to rollback in diff when not editrights to page
Closed, ResolvedPublic

Assigned To
None
Priority
Normal
Author
bzimport
Subscribers
aaron, wikibugs-l
Projects
Reference
bz14155
Description

Author: laaknor-wmfbugzilla

Description:
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.


Version: 1.13.x
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz14155.
bzimport created this task.Via LegacyMay 16 2008, 7:44 PM
Nakon added a comment.Via ConduitMay 22 2008, 3:57 PM

Checks to see if a user can edit an article before generating a rollback link

I added getUserPermissionsErrors() from PageHistory.php

Attached: diff.txt

aaron added a comment.Via ConduitMay 29 2008, 9:19 PM

Done in r35571

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.