Last modified: 2014-09-11 20:14:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70815, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68815 - Wikivoyage displays "Fatal exception of type MWException" for 1.24wmf15
Wikivoyage displays "Fatal exception of type MWException" for 1.24wmf15
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 41209 68359
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-29 18:59 UTC by atsirlin
Modified: 2014-09-11 20:14 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---
aklapper: Backport_WMF+


Attachments

Description atsirlin 2014-07-29 18:59:24 UTC
All Wikivoyage wiki's display "Fatal exception of type MWException" when I try to log in. Anonymous browsing is OK, though. I can also browse Wikipedia, Commons and other WMF projects when logged in. This problem appeared half an hour ago and correlates with the latest update of the MediaWiki software.
Comment 1 Sam Reed (reedy) 2014-07-29 19:01:40 UTC
2014-07-29 19:01:10 mw1166 enwikivoyage: [2e0d46e3] /wiki/Special:CentralLogin/complete?token=d33043fa0c5a728c83cec79764df8521   Exception from line 4186 of /usr/local/apache/common-local/php-1.24wmf15/languages/Language.php: Invalid language code "WikiPedia"
#0 /usr/local/apache/common-local/php-1.24wmf15/languages/Language.php(4215): Language::getFileName('/usr/local/apac...', 'WikiPedia', '.php')
#1 /usr/local/apache/common-local/php-1.24wmf15/languages/Language.php(885): Language::getMessagesFileName('WikiPedia')
#2 /usr/local/apache/common-local/php-1.24wmf15/extensions/UniversalLanguageSelector/UniversalLanguageSelector.hooks.php(141): Language::fetchLanguageNames(NULL, 'mwfile')
#3 /usr/local/apache/common-local/php-1.24wmf15/extensions/UniversalLanguageSelector/UniversalLanguageSelector.hooks.php(222): UniversalLanguageSelectorHooks::isSupportedLanguage(NULL)
#4 [internal function]: UniversalLanguageSelectorHooks::getLanguage(Object(User), 'en', Object(RequestContext))
#5 /usr/local/apache/common-local/php-1.24wmf15/includes/Hooks.php(206): call_user_func_array('UniversalLangua...', Array)
#6 /usr/local/apache/common-local/php-1.24wmf15/includes/GlobalFunctions.php(4031): Hooks::run('UserGetLanguage...', Array, NULL)
#7 /usr/local/apache/common-local/php-1.24wmf15/includes/context/RequestContext.php(315): wfRunHooks('UserGetLanguage...', Array)
#8 /usr/local/apache/common-local/php-1.24wmf15/includes/Message.php(516): RequestContext->getLanguage()
#9 /usr/local/apache/common-local/php-1.24wmf15/includes/context/RequestContext.php(400): Message->setContext(Object(RequestContext))
#10 [internal function]: RequestContext->msg('centrallogin')
#11 /usr/local/apache/common-local/php-1.24wmf15/includes/specialpage/SpecialPage.php(606): call_user_func_array(Array, Array)
#12 /usr/local/apache/common-local/php-1.24wmf15/includes/specialpage/SpecialPage.php(464): SpecialPage->msg('centrallogin')
#13 /usr/local/apache/common-local/php-1.24wmf15/includes/specialpage/SpecialPage.php(360): SpecialPage->getDescription()
#14 /usr/local/apache/common-local/php-1.24wmf15/extensions/CentralAuth/specials/SpecialCentralLogin.php(25): SpecialPage->setHeaders()
#15 /usr/local/apache/common-local/php-1.24wmf15/includes/specialpage/SpecialPage.php(382): SpecialCentralLogin->execute('complete')
#16 /usr/local/apache/common-local/php-1.24wmf15/includes/specialpage/SpecialPageFactory.php(516): SpecialPage->run('complete')
#17 /usr/local/apache/common-local/php-1.24wmf15/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#18 /usr/local/apache/common-local/php-1.24wmf15/includes/MediaWiki.php(603): MediaWiki->performRequest()
#19 /usr/local/apache/common-local/php-1.24wmf15/includes/MediaWiki.php(452): MediaWiki->main()
#20 /usr/local/apache/common-local/php-1.24wmf15/index.php(46): MediaWiki->run()
#21 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#22 {main}
Comment 2 Sam Reed (reedy) 2014-07-29 19:17:30 UTC
So it's wmgExtraLanguageNames entries for Wikivoyage. If you remove WikiPedia, it then fails for Radreise-Wiki...
Comment 3 atsirlin 2014-07-29 19:23:58 UTC
I am not sure if is related or not, but an important feature of today's MediaWiki update is the possibility to put inter-project links into the sidebar. However, Wikivoyage also had this possibility before through Extension:Related sites. This extension might have a conflict with the new version of the software. And if it does, I suggest to switch off Extension:Related sites immediately because it is no longer necessary anyway.
Comment 4 Gerrit Notification Bot 2014-07-29 19:25:27 UTC
Change 150301 had a related patch set uploaded by Reedy:
Disable RelatedSites Extension

https://gerrit.wikimedia.org/r/150301
Comment 5 Daniel Zahn 2014-07-29 19:27:06 UTC
did you already disable it? because i don't see the error after logging in..
Comment 6 Sam Reed (reedy) 2014-07-29 19:32:21 UTC
(In reply to atsirlin from comment #3)
> I am not sure if is related or not, but an important feature of today's
> MediaWiki update is the possibility to put inter-project links into the
> sidebar. However, Wikivoyage also had this possibility before through
> Extension:Related sites. This extension might have a conflict with the new
> version of the software. And if it does, I suggest to switch off
> Extension:Related sites immediately because it is no longer necessary anyway.

Which change is that exactly?
Comment 7 Sam Reed (reedy) 2014-07-29 19:38:56 UTC
(In reply to Daniel Zahn from comment #5)
> did you already disable it? because i don't see the error after logging in..

Yeah, wikivoyages were reverted to 1.24wmf14
Comment 8 atsirlin 2014-07-29 19:44:57 UTC
I meant this one:
https://www.mediawiki.org/wiki/Beta_Features/Other_projects_sidebar

but well, I am not sure if it was included in the current release because I can't find any relevant changes for MediaWiki_1.24/wmf15
Comment 9 Sam Reed (reedy) 2014-07-29 20:05:19 UTC
(In reply to atsirlin from comment #8)
> I meant this one:
> https://www.mediawiki.org/wiki/Beta_Features/Other_projects_sidebar
> 
> but well, I am not sure if it was included in the current release because I
> can't find any relevant changes for MediaWiki_1.24/wmf15

It's apparently targetted for deployment later this month, but shouldn't have gone out already...


Dropping to major as site is functional on wmf14 (for now)
Comment 10 Greg Grossmeier 2014-07-29 20:31:25 UTC
So, to clarify, the "In Other Projects Sidebar" is already in use on Wikivoyage, the target for later this month is for all wikis.

Katie/Marius: thoughts on this issue today?
Comment 11 atsirlin 2014-07-29 21:37:31 UTC
I am sorry for the confusion about the RelatedSites extension. There is no reason to blame it for the current problem.
Comment 12 Sam Reed (reedy) 2014-07-29 21:46:35 UTC
(In reply to Greg Grossmeier from comment #10)
> So, to clarify, the "In Other Projects Sidebar" is already in use on
> Wikivoyage, the target for later this month is for all wikis.
> 
> Katie/Marius: thoughts on this issue today?

Thanks. If the extensions is redundant it should be disabled (already made a patch for that above. Wants fully undeploying later)

I've not got round to looking if there were any related changes in the Language code. The Wikidata additional code seems a likely target (new only on Wikivoyage) but may not be the actual cause
Comment 13 Marius Hoch 2014-07-30 23:09:24 UTC
(In reply to Greg Grossmeier from comment #10)
> So, to clarify, the "In Other Projects Sidebar" is already in use on
> Wikivoyage, the target for later this month is for all wikis.
> 
> Katie/Marius: thoughts on this issue today?

We don't plane to roll out our other project links to Wikibase this month (neither the beta feature not anything active per default).
The related sites extension does more than we support right now (as far as I'm aware).
Comment 14 Nemo 2014-07-31 13:08:39 UTC
(In reply to Marius Hoch from comment #13)
> The related sites extension does more than we support right now (as far as
> I'm aware).

Doesn't matter IMHO, we can't have two extensions competing for the same features enabled at the same time on the cluster, or even on an individual wiki. It's an unreasonable maintenance cost.

RelatedSites was already weird in that it implemented locally something that bug 708 had asked globally. IMHO, just undeploy RelatedSites immediately, file feature requests for any missing feature.
Comment 15 Sam Reed (reedy) 2014-07-31 14:15:20 UTC
Wikivoyages back on 1.24wmf15
Comment 16 Gerrit Notification Bot 2014-09-11 20:14:43 UTC
Change 150301 abandoned by Reedy:
Disable RelatedSites Extension

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links