Page MenuHomePhabricator

Blocked users cannot use Special:CiteThisPage
Closed, ResolvedPublic

Description

Navigating to Special:CiteThisPage shows an error page for blocked users/IPs whose title is "User is blocked" (blockedtitle). This is unexpected, because blocked users should be able to use the tool to cite pages.

This issue has been reported on https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Questions_techniques/semaine_46_2016#Blocage_et_.22Citer_cette_page.22, and I was able to reproduce it on fr.wikipedia.org by using a globally blocked IP.

I believe this is related to the change https://gerrit.wikimedia.org/r/313557, which was done to solve T147046: as far as I understand, FormSpecialPage does not allow blocked users to run execute() unless requiresUnblock is overridden.

Event Timeline

Orlodrim created this task.Nov 15 2016, 7:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 15 2016, 7:10 PM

Change 321710 had a related patch set uploaded (by Legoktm):
Allow blocked users to use Special:CiteThisPage

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

Legoktm claimed this task.Nov 15 2016, 7:38 PM
Legoktm added a project: Regression.
Legoktm added a subscriber: Legoktm.

My bad, thanks for filing a bug.

And the patch causing this is in REL1_28, so we should backport this.

Change 321710 merged by jenkins-bot:
Allow blocked users to use Special:CiteThisPage

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

Change 321723 had a related patch set uploaded (by Legoktm):
Allow blocked users to use Special:CiteThisPage

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

Legoktm closed this task as Resolved.Nov 15 2016, 8:35 PM

Change 321723 merged by jenkins-bot:
Allow blocked users to use Special:CiteThisPage

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

Thibaut120094 rescinded a token.
Thibaut120094 awarded a token.
Thibaut120094 added a subscriber: Thibaut120094.
Scoopfinder added a subscriber: Scoopfinder.