Last modified: 2014-05-04 00:54:48 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 T50619, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48619 - [Lockdown] wgActionLockdown gives incorrect error message
[Lockdown] wgActionLockdown gives incorrect error message
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Lockdown (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-19 19:14 UTC by Mark A. Hershberger
Modified: 2014-05-04 00:54 UTC (History)
3 users (show)

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


Attachments

Description Mark A. Hershberger 2013-05-19 19:14:29 UTC
When I have
  $wgActionLockdown['history'] = array('user');

and try to visit action=history, I get the message
  You do not have permission to delete this page, for the following reason:
  The action you have requested is limited to users in the group: user.  

It should say "view the history of" instead of "delete".
Comment 1 Mark A. Hershberger 2013-05-19 19:16:24 UTC
uselang=qqx output:


  (permissionserrorstext-withaction: 1, (action-delete))

  (badaccess-groups: (group-user), 1)
Comment 2 Nemo 2014-05-03 08:05:52 UTC
So the code should pass action-history and the admin should create the message on wiki?
Comment 3 Gerrit Notification Bot 2014-05-03 19:07:53 UTC
Change 131270 had a related patch set uploaded by Ocean behind ears:
Add action-history

https://gerrit.wikimedia.org/r/131270
Comment 4 Gerrit Notification Bot 2014-05-03 19:15:29 UTC
Change 131272 had a related patch set uploaded by Ocean behind ears:
Replaced hard-coded delete with actual action used.

https://gerrit.wikimedia.org/r/131272
Comment 5 Gerrit Notification Bot 2014-05-04 00:54:48 UTC
Change 131270 merged by jenkins-bot:
Add action-history

https://gerrit.wikimedia.org/r/131270

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


Navigation
Links