Last modified: 2013-04-22 16:14:23 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 T44824, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42824 - GeoData throwing exceptions on enwiki
GeoData throwing exceptions on enwiki
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GeoData (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Max Semenik
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-07 14:23 UTC by Brad Jorsch
Modified: 2013-04-22 16:14 UTC (History)
3 users (show)

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


Attachments

Description Brad Jorsch 2012-12-07 14:23:02 UTC
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}
Comment 1 Max Semenik 2012-12-07 16:10:46 UTC
https://gerrit.wikimedia.org/r/37446
Comment 2 Max Semenik 2012-12-07 16:37:37 UTC
Merged and deployed.

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


Navigation
Links