Page MenuHomePhabricator

Investigate issues with wikitech-static.wikimedia.org
Closed, ResolvedPublic

Description

I encountered three issues with wikitech-static.wikimedia.org. Please feel free to split out into other tasks if needed.

First issue: I did this search https://encrypted.google.com/search?hl=en&q=dbreps%20tools%20wikitech and the first result was wikitech-static.wikimedia.org. Maybe this site should be marked as noindexed via HTML output or https://wikitech-static.wikimedia.org/robots.txt? Or maybe we want it indexed for backup reasons. This is unclear. I didn't notice that it was wikitech-static.wikimedia.org and not wikitech.wikimedia.org.

This confusion leads us to the second issue: I went to https://wikitech-static.wikimedia.org/wiki/Tool:Dbreps, was like "hmm, I guess I need to log in," then I went to https://wikitech-static.wikimedia.org/w/index.php?title=Special:UserLogin&returnto=Tool%3ADbreps and tried to log in. There's no warning noting that your account intentionally(?) doesn't work there.

And the third issue, after trying my password a few times, I got a stacktrace:

[2a3a8289cc4a3ab2449b4fd3] /w/index.php?title=Special:UserLogin&returnto=Tool:Dbreps UnderflowException from line 412 of /srv/mediawiki/w/extensions/ConfirmEdit/FancyCaptcha/FancyCaptcha.class.php: Ran out of captcha images
Backtrace:
#0 /srv/mediawiki/w/extensions/ConfirmEdit/SimpleCaptcha/Captcha.php(1315): FancyCaptcha->getCaptcha()
#1 /srv/mediawiki/w/extensions/ConfirmEdit/includes/auth/CaptchaPreAuthenticationProvider.php(60): SimpleCaptcha->createAuthenticationRequest()
#2 /srv/mediawiki/w/includes/auth/AuthManager.php(2079): CaptchaPreAuthenticationProvider->getAuthenticationRequests(string, array)
#3 /srv/mediawiki/w/includes/auth/AuthManager.php(2057): MediaWiki\Auth\AuthManager->getAuthenticationRequestsInternal(string, array, array, User)
#4 /srv/mediawiki/w/includes/specialpage/AuthManagerSpecialPage.php(258): MediaWiki\Auth\AuthManager->getAuthenticationRequests(string, User)
#5 /srv/mediawiki/w/includes/specialpage/LoginSignupSpecialPage.php(358): AuthManagerSpecialPage->loadAuth(NULL, string, boolean)
#6 /srv/mediawiki/w/includes/specialpage/SpecialPage.php(522): LoginSignupSpecialPage->execute(NULL)
#7 /srv/mediawiki/w/includes/specialpage/SpecialPageFactory.php(576): SpecialPage->run(NULL)
#8 /srv/mediawiki/w/includes/MediaWiki.php(283): SpecialPageFactory::executePath(Title, RequestContext)
#9 /srv/mediawiki/w/includes/MediaWiki.php(851): MediaWiki->performRequest()
#10 /srv/mediawiki/w/includes/MediaWiki.php(512): MediaWiki->main()
#11 /srv/mediawiki/w/index.php(43): MediaWiki->run()
#12 {main}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Given https://wikitech-static.wikimedia.org/wiki/Special:ListUsers I don't think you would have been able to login anyways. Maybe a sitenotice or something that says "This is a read-only copy of wikitech blah blah" would have helped?

You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org <-- this is the header on every page. Is that good enough?

ArielGlenn claimed this task.

The search listed as the second issue now works fine.

The google result listed as the first issue no longer shows up.

Given the notice atop every page now that tells folks not to log in, this task looks done. Closing.