https://bugzilla.wikimedia.org/show_bug.cgi?id=69562

            Bug ID: 69562
           Summary: Avoid checking for large revision count on
                    action=delete if the user doesn't have delete
                    permission
           Product: MediaWiki
           Version: 1.24-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: Page deletion
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

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."

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to