Page MenuHomePhabricator

Internal error on Special:CentralAuth/username
Closed, ResolvedPublic

Description

http://en.wikipedia.org/wiki/Special:CentralAuth/Catrope is fine

http://en.wikipedia.org/wiki/Special:CentralAuth/Reedy is not

Invalid wiki:
Backtrace:
#0 /usr/local/apache/common-local/php-1.17/extensions/CentralAuth/SpecialCentralAuth.php(368): SpecialCentralAuth->foreignUserLink(NULL)
#1 [internal function]: SpecialCentralAuth->listMergedWikiItem(NULL)
#2 /usr/local/apache/common-local/php-1.17/extensions/CentralAuth/SpecialCentralAuth.php(348): array_map(Array, Array)
#3 /usr/local/apache/common-local/php-1.17/extensions/CentralAuth/SpecialCentralAuth.php(302): SpecialCentralAuth->listMerged(Array)
#4 /usr/local/apache/common-local/php-1.17/extensions/CentralAuth/SpecialCentralAuth.php(82): SpecialCentralAuth->showWikiLists()
#5 /usr/local/apache/common-local/php-1.17/includes/SpecialPage.php(578): SpecialCentralAuth->execute('Reedy')
#6 /usr/local/apache/common-local/php-1.17/includes/Wiki.php(251): SpecialPage::executePath(Object(Title))
#7 /usr/local/apache/common-local/php-1.17/includes/Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#8 /usr/local/apache/common-local/php-1.17/index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#9 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#10 {main}


Version: unspecified
Severity: major

Details

Reference
bz28767

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 11:30 PM
bzimport set Reference to bz28767.

Giving this to you, Reedy, since you reported it and can track down any possible DB issues (if that is what caused this).

I can't replicate with any of my user accounts (but all the ones listed as broken above are broken for me too).

Perhaps home wiki DNE? Unlikely...

Probably needs some live hacking on test to see where it's dying

  • Bug 29225 has been marked as a duplicate of this bug. ***

Bumping this to highest priority. This needs to be fixed as soon as possible.

(In reply to comment #3)

I can't replicate with any of my user accounts (but all the ones listed as
broken above are broken for me too).

Perhaps home wiki DNE? Unlikely...

it "randomly" happens, I've had it before a few times before.

It's replicable on demand for my account

FYI, two additional pieces of information:

(In reply to comment #9)

  • It's not specific to the /username shortcut; i.e.

http://en.wikipedia.org/w/index.php?title=Special%3ACentralAuth&target=Reedy
causes the same error and provides almost the same backtrace.

I'm glad on that, otherwise we'd be beating someone over the head for code duplication ;D

Ok, on mine, it's the wiki that's betweeen elwikibooks and elwikiquote

Going based on that and http://test.wikipedia.org/wiki/Special:MergeAccount

It's elwikinews

["elwikinews"]=>
NULL

I've fixed it for me, by visiting the wiki, so it's just a case of handling it more sensibly

(In reply to comment #11)

I've fixed it for me, by visiting the wiki

Yes, this was found out on #wikimedia-tech after elwikinews got deleted because of that borked import: users who had automatically created an account there need to log in again to fix the issue.

(In reply to comment #12)

(In reply to comment #11)

I've fixed it for me, by visiting the wiki

Yes, this was found out on #wikimedia-tech after elwikinews got deleted because
of that borked import: users who had automatically created an account there
need to log in again to fix the issue.

Would've been nice for someone to tell us, eh? ;)

r89266, r89268

<logmsgbot> !log reedy synchronized php-1.17/extensions/CentralAuth/SpecialCentralAuth.php 'bug 28767'
<morebots> Logged the message, Master

Fixed

(In reply to comment #13)

Would've been nice for someone to tell us, eh? ;)

Sorry, I didn't know of this bug :-(, I thought those ~50 users were going to discover and fix it soon.

apr 12 11.55.06 <Nemo_bis> if someone complains, tell him to login to el.news again
apr 12 11.55.14 <apergos> ahh
apr 12 11.55.19 <apergos> ok. now I get you