Last modified: 2014-08-15 12:45:42 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 T71562, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69562 - Avoid checking for large revision count on action=delete if the user doesn't have delete permission
Avoid checking for large revision count on action=delete if the user doesn't ...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page deletion (Other open bugs)
1.24rc
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-14 19:22 UTC by Jesús Martínez Novo (Ciencia Al Poder)
Modified: 2014-08-15 12:45 UTC (History)
0 users

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


Attachments

Description Jesús Martínez Novo (Ciencia Al Poder) 2014-08-14 19:22:09 UTC
When doing action=delete on a page, MediaWiki is checking if the page has a large revision count, and displaying a warning to the user telling it can't delete the page because it has many revisions, but that message is being displayed even if the user has no delete permission (for example, being a not logged-in user or a normal user), which doesn't make sense.

----

Steps to reproduce:

Go to https://en.wikipedia.org/wiki/Special:MostRevisions , pick one page, go to the page history and change action=history by action=delete on the URL

Be sure to not be an admin, or simply access it while not logged in.

----

Expected results:

You get a message like "The action you have requested is limited to users in the group: Administrators."

----

Actual results:

In addition to the "The action you have requested is limited to users in the group: Administrators." message, you get a "This page's edit history may exceed 5,000 revisions. To prevent accidental disruption, its deletion is restricted to stewards. Please contact one for assistance. For past actions at this page, see its deletion log."

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


Navigation
Links