Page MenuHomePhabricator

GeoData throwing exceptions on enwiki
Closed, ResolvedPublic

Description

See [[en:WP:VPT#MWException fatal error]] for a bit more discussion. It seems trying to save a page using {{#coordinates}} is throwing this exception:

2012-12-07 14:14:59 srv289 enwiki: [5099e993] /w/index.php?title=List_of_Methodist_churches&action=submit Exception from line 43 of /usr/local/apache/common-local/php-1.21wmf5/extensions/GeoData/CoordinatesParserFunction.php: CoordinatesParserFunction::coordinates() called by wrong parser
#0 [internal function]: CoordinatesParserFunction->coordinates(Object(Parser), Object(PPTemplateFrame_DOM), Array)
#1 /usr/local/apache/common-local/php-1.21wmf5/includes/parser/Parser.php(3286): call_user_func_array(Array, Array)
#2 /usr/local/apache/common-local/php-1.21wmf5/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#3 /usr/local/apache/common-local/php-1.21wmf5/includes/parser/Parser.php(3452): PPFrame_DOM->expand(Object(PPNode_DOM))
#4 /usr/local/apache/common-local/php-1.21wmf5/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#5 /usr/local/apache/common-local/php-1.21wmf5/includes/parser/Parser.php(3073): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#6 /usr/local/apache/common-local/php-1.21wmf5/includes/parser/Parser.php(1157): Parser->replaceVariables('???This is a ''...')
#7 /usr/local/apache/common-local/php-1.21wmf5/includes/parser/Parser.php(385): Parser->internalParse('???This is a ''...')
#8 /usr/local/apache/common-local/php-1.21wmf5/includes/cache/MessageCache.php(848): Parser->parse('???This is a ''...', Object(Title), Object(ParserOptions), true)
#9 /usr/local/apache/common-local/php-1.21wmf5/extensions/PageTriage/includes/ArticleMetadata.php(775): MessageCache->parse('???This is a ''...')
#10 /usr/local/apache/common-local/php-1.21wmf5/extensions/PageTriage/includes/ArticleMetadata.php(737): ArticleCompileSnippet::generateArticleSnippet('{{incomplete}}?...')
#11 /usr/local/apache/common-local/php-1.21wmf5/extensions/PageTriage/includes/ArticleMetadata.php(438): ArticleCompileSnippet->compile()
#12 /usr/local/apache/common-local/php-1.21wmf5/extensions/PageTriage/includes/ArticleMetadata.php(406): ArticleCompileProcessor->process()
#13 /usr/local/apache/common-local/php-1.21wmf5/extensions/PageTriage/PageTriage.hooks.php(151): ArticleCompileProcessor->compileMetadata()
#14 [internal function]: PageTriageHooks::onArticleSaveComplete(Object(WikiPage), Object(User), '{{incomplete}}?...', 'null edit', 0, NULL, NULL, 98, NULL, Object(Status), false)
#15 /usr/local/apache/common-local/php-1.21wmf5/includes/Hooks.php(253): call_user_func_array('PageTriageHooks...', Array)
#16 /usr/local/apache/common-local/php-1.21wmf5/includes/GlobalFunctions.php(3824): Hooks::run('ArticleSaveComp...', Array)
#17 /usr/local/apache/common-local/php-1.21wmf5/includes/content/ContentHandler.php(1079): wfRunHooks('ArticleSaveComp...', Array)
#18 /usr/local/apache/common-local/php-1.21wmf5/includes/WikiPage.php(1904): ContentHandler::runLegacyHooks('ArticleSaveComp...', Array)
#19 [internal function]: WikiPage->doEditContent(Object(WikitextContent), 'null edit', 98, false, NULL, 'text/x-wiki')
#20 /usr/local/apache/common-local/php-1.21wmf5/includes/Article.php(1944): call_user_func_array(Array, Array)
#21 /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php(1624): Article->__call('doEditContent', Array)
#22 /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php(1624): Article->doEditContent(Object(WikitextContent), 'null edit', 98, false, NULL, 'text/x-wiki')
#23 /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php(1133): EditPage->internalAttemptSave(Array, false)
#24 /usr/local/apache/common-local/php-1.21wmf5/includes/EditPage.php(396): EditPage->attemptSave()
#25 /usr/local/apache/common-local/php-1.21wmf5/includes/actions/EditAction.php(51): EditPage->edit()
#26 /usr/local/apache/common-local/php-1.21wmf5/includes/actions/EditAction.php(71): EditAction->show()
#27 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(429): SubmitAction->show()
#28 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#29 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(555): MediaWiki->performRequest()
#30 /usr/local/apache/common-local/php-1.21wmf5/includes/Wiki.php(448): MediaWiki->main()
#31 /usr/local/apache/common-local/php-1.21wmf5/index.php(59): MediaWiki->run()
#32 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#33 {main}


Version: master
Severity: normal

Details

Reference
bz42824

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:55 AM
bzimport added a project: GeoData.
bzimport set Reference to bz42824.
Anomie created this task.Dec 7 2012, 2:23 PM
MaxSem added a comment.Dec 7 2012, 4:37 PM

Merged and deployed.