Last modified: 2010-05-15 16:03:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16155, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14155 - Rollback has link to rollback in diff when not editrights to page
Rollback has link to rollback in diff when not editrights to page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-16 19:44 UTC by Lars Åge Kamfjord
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Checks to see if a user can edit an article before generating a rollback link (567 bytes, patch)
2008-05-22 15:57 UTC, Nakon
Details

Description Lars Åge Kamfjord 2008-05-16 19:44:04 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.
Comment 1 Nakon 2008-05-22 15:57:38 UTC
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
Comment 2 Aaron Schulz 2008-05-29 21:19:31 UTC
Done in r35571 

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links