Page MenuHomePhabricator

Accessing Special:DeletedContributions without sufficient permissions shows inaccurate error message
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Visit https://zh.wikipedia.org/wiki/Special:%E5%88%A0%E9%99%A4%E7%9A%84%E8%B4%A1%E7%8C%AE?uselang=en using a non-admin account.
  2. Observe the error message text.

What happens?:

You do not have permission to view a page's deleted history, for the following reason:

What should have happened instead?:

You do not have permission to view deleted user contributions, for the following reason:

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

The reason for this is most likely because the error message is the same as the error message on another page.

Event Timeline

I updated the task description. (Show Details)

@AnYiLin There was a problem with your mirrorsite again, driving over to here and fix it.

You do not have permission to view a page's deleted history. The reason for this is most likely because the error message is the same as the error message on another page.

That's not what I get. What I get is:

You do not have permission to view a page's deleted history, for the following reason:
The action you have requested is limited to users in the group: [Administrators](https://zh.wikipedia.org/wiki/Wikipedia:管理员).
I updated the task description. (Show Details)

@Aklapper You seem to have misunderstood what I was trying to say, and I have revised the text to make sure that there was no misunderstanding.

Aklapper renamed this task from When accessing a restricted special page, the error message of the page is not accurate to Accessing Special:DeletedContributions without sufficient permissions shows inaccurate error message.Feb 15 2023, 11:00 AM
Aklapper changed the task status from Stalled to Open.
Aklapper updated the task description. (Show Details)

Thanks for clarifying! :) Maybe MediaWiki:Action-deletedhistory should not be used here...

Change 889634 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] i18n: Reword action-deletedhistory

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

@I: Please in general do not set the "Other Assignee" field, especially not when the assignee field is empty - thanks.

Change 889634 merged by jenkins-bot:

[mediawiki/core@master] i18n: Reword action-deletedhistory

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

English wording changed, translation can take some time to catch up to this changes within the normal process from translatewiki.net