Page MenuHomePhabricator

action=help shows a "Central login" message on every page when extension CentralAuth is used
Closed, ResolvedPublic

Description

Every page of action=help (e.g. https://www.mediawiki.org/w/api.php) makes calls to lots of Special:CentralAuthLogin on different wikis, and shows a message:

Central login
You are centrally logged in as <User>. Reload the page to apply your user settings.

And if you reload the page or load any other action=help page, just the same happens.

This is probably due to the fact that action=help treats you as logged-out, while CentralAuth has cookies to detect you should be logged in.


Version: unspecified
Severity: normal
URL: https://www.mediawiki.org/w/api.php

Details

Reference
bz72174

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:45 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz72174.
bzimport added a subscriber: Unknown Object (MLST).
Schnark created this task.Oct 17 2014, 7:53 AM

gerritadmin wrote:

Change 167247 had a related patch set uploaded by Anomie:
API: Clean up skin handling

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

gerritadmin wrote:

Change 167247 merged by jenkins-bot:
API: Clean up skin handling

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

I keep getting the message "Central login
You are centrally logged in as (...). Reload the page to apply your user settings."
on the new format of this page:
https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics

(In reply to Helder from comment #3)

I keep getting the message "Central login
You are centrally logged in as (...). Reload the page to apply your user
settings."
on the new format of this page:
https://en.wikipedia.org/w/api.
php?action=query&meta=siteinfo&siprop=statistics

The merged change that should fix this will go out with 1.25wmf5, see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the schedule.