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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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