Last modified: 2013-10-25 06:47:05 UTC
2013-10-16 19:54:27 mw1077 metawiki: [fe28990d] /wiki/Research:Metrics Exception from line 187 of /usr/local/apache/common-local/php-1.22wmf21/extensions/Translate/TranslateHooks.php: A <translate> reached the parser. This should not happen Full stack trace to come, all 487 lines of it including article text
Created attachment 13516 [details] Full stack
2013-10-16 19:54:27 mw1077 metawiki: [fe28990d] /wiki/Research:Metrics Exception from line 187 of /usr/local/apache/common-local/php-1.22wmf21/extensions/Translate/TranslateHooks.php: A <translate> reached the parser. This should not happen #0 (): {closure}('<!--T:1--> This page is currently a draft.', Array, Object(Parser), Object(PPTemplateFrame_DOM)) #1 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Parser.php(4017): call_user_func_array(Object(Closure), Array) #2 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Preprocessor_DOM.php(1181): Parser->extensionSubstitution(Array, Object(PPTemplateFrame_DOM)) #3 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Preprocessor_DOM.php(1533): PPFrame_DOM->expand(Object(DOMElement), 4) #4 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Preprocessor_DOM.php(1541): PPTemplateFrame_DOM->getNamedArgument('text') #5 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Parser.php(3943): PPTemplateFrame_DOM->getArgument('text') #6 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Preprocessor_DOM.php(1133): Parser->argSubstitution(Array, Object(PPTemplateFrame_DOM)) #7 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Parser.php(3484): PPFrame_DOM->expand(Object(PPNode_DOM)) #8 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM)) #9 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Parser.php(3479): PPFrame_DOM->expand(Object(PPNode_DOM)) #10 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Preprocessor_DOM.php(1114): Parser->braceSubstitution(Array, Object(PPFrame_DOM)) #11 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Parser.php(3146): PPFrame_DOM->expand(Object(PPNode_DOM), 0) #12 /usr/local/apache/common-local/php-1.22wmf21/includes/parser/Parser.php(1205): Parser->replaceVariables('<REDACTED>', Object(Title), Object(ParserOptions), true, true, 5845855) #9 /usr/local/apache/common-local/php-1.22wmf21/includes/WikiPage.php(3539): WikitextContent->getParserOutput(Object(Title), 5845855, Object(ParserOptions)) #10 /usr/local/apache/common-local/php-1.22wmf21/includes/PoolCounter.php(222): PoolWorkArticleView->doWork() #11 /usr/local/apache/common-local/php-1.22wmf21/includes/WikiPage.php(1128): PoolCounterWork->execute() #12 /usr/local/apache/common-local/php-1.22wmf21/includes/diff/DifferenceEngine.php(576): WikiPage->getParserOutput(Object(ParserOptions), 5845855) #13 /usr/local/apache/common-local/php-1.22wmf21/includes/diff/DifferenceEngine.php(544): DifferenceEngine->getParserOutput(Object(WikiPage), Object(Revision)) #14 /usr/local/apache/common-local/php-1.22wmf21/includes/diff/DifferenceEngine.php(407): DifferenceEngine->renderNewRevision() #15 /usr/local/apache/common-local/php-1.22wmf21/includes/Article.php(816): DifferenceEngine->showDiffPage(false) #16 /usr/local/apache/common-local/php-1.22wmf21/includes/Article.php(548): Article->showDiffPage() #17 /usr/local/apache/common-local/php-1.22wmf21/includes/actions/ViewAction.php(44): Article->view() #18 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(448): ViewAction->show() #19 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(312): MediaWiki->performAction(Object(Article), Object(Title)) #20 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(602): MediaWiki->performRequest() #21 /usr/local/apache/common-local/php-1.22wmf21/includes/Wiki.php(467): MediaWiki->main() #22 /usr/local/apache/common-local/php-1.22wmf21/index.php(49): MediaWiki->run() #23 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apache/common-local/php-1.22wmf21/index.php') #24 {main}
https://meta.wikimedia.org/w/index.php?title=Research%3AMetrics&diff=6064357&oldid=5970856 page fixed, but this shouldn't cause a fatal error.
*** Bug 55823 has been marked as a duplicate of this bug. ***
2013-10-17 14:26:45 mw1061 metawiki: [a7c6d1c3] /w/index.php?title=IRC/Group_Contacts&diff=5310350&oldid=4305181 Exception from line 187 of /usr/local/apache/common-local/php-1.22wmf21/extensions/Translate/TranslateHooks.php: A <translate> reached the parser. This should not happen
I will be looking into this next week. In the interim I suggest reverting https://gerrit.wikimedia.org/r/#/c/83427/
The regression was actually fixed by the revert. Working on long term solution in bug 48891.