Page MenuHomePhabricator

Exception "Invalid marker...Expansion depth limit exceeded" thrown when template expansion limit is exceeded inside a strip marker
Open, HighPublic

Description

When the template expansion limit is exceeded within a section of wikicode that's temporarily replaced with a strip marker, that results in an exception:

includes/parser/StripState.php: Invalid marker: ^?'"`UNIQ--<span class="error">Expansion depth limit exceeded</span>-00000001-QINU`"'^?

The desirable behavior would be to display <span class="error">Expansion depth limit exceeded</span> in the page content instead of throwing an exception.

Example page https://commons.wikimedia.org/w/index.php?title=File:Flag_of_Germany.svg&oldid=192017176

Related: T102410: Remove — at least increase — the "template expansion depth limit"


Original report (errors not reproducible anymore):

There's a fatal error loading the following page: https://be.wikipedia.org/wiki/Ніцэлопсіс_двухдомны
Was first discovered with mobileview API request: https://be.wikipedia.org/w/api.php?action=mobileview&page=Ніцэлопсіс_двухдомны

Other examples of similar issues:

I'm not sure which tags to assign to this issue.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptMay 27 2016, 11:43 AM
Anomie added a subscriber: Anomie.

The exception logged is:

2016-05-27 13:12:20 [V0hHtApAMFAAACiW3SQAAABU] mw1245 bewiki 1.28.0-wmf.3 exception ERROR: [V0hHtApAMFAAACiW3SQAAABU] /wiki/%D0%9D%D1%96%D1%86%D1%8D%D0%BB%D0%BE%D0%BF%D1%81%D1%96%D1%81_%D0%B4%D0%B2%D1%83%D1%85%D0%B4%D0%BE%D0%BC%D0%BD%D1%8B?uselang=en   MWException from line 82 of /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/StripState.php: Invalid marker: ^?'"`UNIQ--<span class="error">Expansion depth limit exceeded</span>-00000000-QINU`"'^? {"exception_id":"V0hHtApAMFAAACiW3SQAAABU"}
[Exception MWException] (/srv/mediawiki/php-1.28.0-wmf.3/includes/parser/StripState.php:82) Invalid marker: ^?'"`UNIQ--<span class="error">Expansion depth limit exceeded</span>-00000000-QINU`"'^?
  #0 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/StripState.php(71): StripState->addItem(string, string, string)
  #1 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3812): StripState->addGeneral(string, string)
  #2 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1148): Parser->extensionSubstitution(array, PPTemplateFrame_Hash)
  #3 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #4 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #5 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(856): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #6 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(208): ExtParserFunctions::decodeTrimExpand(PPNode_Hash_Tree, PPTemplateFrame_Hash, string)
  #7 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::switchObj(Parser, PPTemplateFrame_Hash, array)
  #8 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #9 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #10 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #11 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #12 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #13 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #14 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #15 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #16 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #17 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #18 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #19 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #20 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #21 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #22 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #23 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #24 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #25 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #26 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #27 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #28 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #29 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #30 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #31 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #32 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #33 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #34 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #35 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #36 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #37 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #38 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #39 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #40 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(123): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #41 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #42 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #43 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #44 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #45 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #46 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #47 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #48 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1578): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #49 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1604): PPTemplateFrame_Hash->getNumberedArgument(string)
  #50 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3696): PPTemplateFrame_Hash->getArgument(string)
  #51 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #52 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #53 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #54 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #55 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #56 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #57 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #58 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #59 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #60 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #61 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #62 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #63 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #64 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #65 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #66 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #67 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #68 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #69 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #70 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #71 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #72 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #73 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #74 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #75 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #76 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #77 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #78 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #79 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #80 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #81 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #82 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #83 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #84 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #85 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #86 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #87 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #88 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #89 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #90 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #91 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #92 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #93 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #94 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #95 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #96 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #97 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #98 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #99 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #100 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #101 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #102 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #103 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #104 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #105 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #106 /srv/mediawiki/php-1.28.0-wmf.3/extensions/ParserFunctions/ParserFunctions_body.php(125): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #107 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3324): ExtParserFunctions::ifeqObj(Parser, PPTemplateFrame_Hash, array)
  #108 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3059): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #109 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #110 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #111 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #112 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2977): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #113 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #114 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #115 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #116 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(3201): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #117 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #118 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(2873): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #119 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(1234): Parser->replaceVariables(string)
  #120 /srv/mediawiki/php-1.28.0-wmf.3/includes/parser/Parser.php(432): Parser->internalParse(string)
  #121 /srv/mediawiki/php-1.28.0-wmf.3/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
  #122 /srv/mediawiki/php-1.28.0-wmf.3/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
  #123 /srv/mediawiki/php-1.28.0-wmf.3/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Title, integer, ParserOptions)
  #124 /srv/mediawiki/php-1.28.0-wmf.3/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
  #125 /srv/mediawiki/php-1.28.0-wmf.3/includes/page/Article.php(666): PoolCounterWork->execute()
  #126 /srv/mediawiki/php-1.28.0-wmf.3/includes/actions/ViewAction.php(44): Article->view()
  #127 /srv/mediawiki/php-1.28.0-wmf.3/includes/MediaWiki.php(504): ViewAction->show()
  #128 /srv/mediawiki/php-1.28.0-wmf.3/includes/MediaWiki.php(288): MediaWiki->performAction(Article, Title)
  #129 /srv/mediawiki/php-1.28.0-wmf.3/includes/MediaWiki.php(746): MediaWiki->performRequest()
  #130 /srv/mediawiki/php-1.28.0-wmf.3/includes/MediaWiki.php(520): MediaWiki->main()
  #131 /srv/mediawiki/php-1.28.0-wmf.3/index.php(43): MediaWiki->run()
  #132 /srv/mediawiki/w/index.php(3): include(string)
  #133 {main}

At a quick glance, what seems to be happening is that the depth-exceeded is happening at just the wrong level here so the attempt to get the name for the strip marker in Parser::extensionSubstitution() is getting back a depth-exceeded error instead. The proximate cause of the new error is probably rMW939faea318d9: Require strip marker names to not have & ' " < or > in them, although that's more detecting an existing situation than actually breaking something. I'd guess the solution would be to either detect the depth-exceeded case and propagate it up the stack, or else to somehow avoid the depth-exceeded when constructing the strip marker name.

Note that you closed bug T141132 which was initially caused by this one, but bug T141132 reveals another bug

Its original title has been altered; it was initially named "problem on image server (internal mediawiki error)"

The other bug revealed is that loading images thumbnails from other wikis (which don't need anything from the file description page which is not even referenced by them) are now reported as if they did not exist.

The image server apparently has a dependency that causes it to parse the description page in an unexpected context where Scribunto has no valid frame. This parsing should not occur as all what is requested is not the description page (in "File:" namespace) but contents of the media file itself (in "Media:"). The thumbnail generator on the image server should not parse any wiki code.

May be this is performed by hiding the page content in strip tags, but this looks like a hack. The image server should just access the "Media:" namespace directly. The wiki parser is then irrelevant and if such dependency is still needed, this looks like a bug.

I saw this bug when a simple SVG image from Commons was referenced by a wiki outside Wikimedia. Instead of displaying the image I just saw the alternate text in a red link (to upload a new image on the other wiki, as if it did not exist at all on Commons; of course this upload is undesired, the purpose of Commons being to act as a single repository for the media file, independantly of the description page that may exist on each wiki: if such local description page is not present, the description page on Commons could be shown, and then it will be parsed and rendered by Commons, only if thje other wiki needs to render a File:description page; it should not even be needed on all other pages just using a [[File:Name|thumbnail size and options...|caption]]).

In summary: the max expansion depth issue in Scribunto is unrelated, but for the image server it causes additionnal unexpected misbehavior: the thumbnail should still be generated, cached, and served independantly of the state of its description page in Commons.

So consider reopening my original bug under its original name, as it's clearly a distinct bug.

The exception ID you quoted in that report is for an attempt to view a file description page, not an attempt to render a file:

2016-07-22 17:30:24 [V5JYMApAMFIAALoducMAAAAA] mw1247 commonswiki 1.28.0-wmf.11 exception ERROR: [V5JYMApAMFIAALoducMAAAAA] /wiki/File:Flag_of_Germany.svg   MWException from line 82 of /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/StripState.php: Invalid marker: '"`UNIQ--<span class="error">Expansion depth limit exceeded</span>-00000001-QINU`"' {"exception_id":"V5JYMApAMFIAALoducMAAAAA"} 
[Exception MWException] (/srv/mediawiki/php-1.28.0-wmf.11/includes/parser/StripState.php:82) Invalid marker: '"`UNIQ--<span class="error">Expansion depth limit exceeded</span>-00000001-QINU`"'
  #0 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/StripState.php(71): StripState->addItem(string, string, string)
  #1 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3844): StripState->addGeneral(string, string)
  #2 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1148): Parser->extensionSubstitution(array, PPTemplateFrame_Hash)
  #3 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #4 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #5 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #6 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #7 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #8 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #9 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #10 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #11 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #12 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #13 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #14 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #15 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #16 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #17 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #18 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #19 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #20 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #21 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #22 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #23 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #24 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #25 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #26 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #27 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #28 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #29 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #30 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #31 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #32 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #33 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #34 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #35 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #36 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #37 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #38 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #39 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #40 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #41 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #42 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #43 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #44 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #45 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #46 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #47 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #48 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #49 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #50 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #51 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #52 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #53 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #54 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #55 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #56 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #57 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #58 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #59 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #60 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #61 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #62 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #63 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #64 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #65 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #66 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #67 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #68 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #69 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #70 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #71 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #72 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #73 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #74 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #75 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #76 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #77 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #78 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #79 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #80 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #81 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #82 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #83 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #84 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #85 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #86 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #87 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #88 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #89 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #90 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #91 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #92 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #93 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #94 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #95 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #96 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #97 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #98 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #99 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #100 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #101 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #102 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #103 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #104 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #105 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #106 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #107 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #108 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #109 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #110 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #111 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #112 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #113 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #114 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #115 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #116 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #117 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #118 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #119 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #120 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #121 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #122 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #123 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #124 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #125 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #126 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #127 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #128 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #129 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #130 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #131 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #132 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #133 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #134 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #135 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #136 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #137 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #138 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #139 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #140 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #141 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #142 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #143 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #144 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #145 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #146 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #147 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #148 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #149 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #150 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #151 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #152 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #153 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #154 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #155 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #156 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #157 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #158 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #159 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #160 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #161 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #162 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #163 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #164 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #165 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #166 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #167 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #168 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #169 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #170 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #171 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #172 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #173 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #174 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #175 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #176 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #177 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #178 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #179 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #180 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #181 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #182 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #183 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #184 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #185 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #186 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #187 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #188 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #189 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #190 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #191 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #192 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #193 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #194 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #195 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #196 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #197 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #198 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #199 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #200 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #201 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #202 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #203 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #204 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #205 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #206 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #207 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #208 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #209 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #210 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #211 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #212 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #213 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #214 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #215 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #216 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #217 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #218 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #219 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #220 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #221 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #222 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #223 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #224 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #225 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #226 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #227 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction, string)
  #228 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(244): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction, string)
  #229 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(897): Scribunto_LuaEngine->executeModule(LuaSandboxFunction, string, PPTemplateFrame_Hash)
  #230 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #231 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #232 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #233 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #234 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #235 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #236 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1514): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #237 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3230): PPTemplateFrame_Hash->cachedExpand(string, PPNode_Hash_Tree)
  #238 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #239 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #240 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #241 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #242 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #243 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #244 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(string)
  #245 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3728): PPTemplateFrame_Hash->getArgument(string)
  #246 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1092): Parser->argSubstitution(array, PPTemplateFrame_Hash)
  #247 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1594): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #248 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1606): PPTemplateFrame_Hash->getNamedArgument(integer)
  #249 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1538): PPTemplateFrame_Hash->getArgument(integer)
  #250 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(781): PPTemplateFrame_Hash->getArguments()
  #251 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(407): Scribunto_LuaEngine->preprocess(string, string)
  #252 [internal function]: Scribunto_LuaSandboxCallback->__call(string, array)
  #253 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaSandbox/Engine.php(319): LuaSandboxFunction->call(LuaSandboxFunction)
  #254 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(265): Scribunto_LuaSandboxInterpreter->callFunction(LuaSandboxFunction, LuaSandboxFunction)
  #255 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(910): Scribunto_LuaEngine->executeFunctionChunk(LuaSandboxFunction, PPTemplateFrame_Hash)
  #256 /srv/mediawiki/php-1.28.0-wmf.11/extensions/Scribunto/common/Hooks.php(121): Scribunto_LuaModule->invoke(string, PPTemplateFrame_Hash)
  #257 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3356): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_Hash, array)
  #258 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3083): Parser->callParserFunction(PPTemplateFrame_Hash, string, array)
  #259 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #260 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #261 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPTemplateFrame_Hash)
  #262 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(3233): PPFrame_Hash->expand(PPNode_Hash_Tree)
  #263 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Preprocessor_Hash.php(1075): Parser->braceSubstitution(array, PPFrame_Hash)
  #264 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(2897): PPFrame_Hash->expand(PPNode_Hash_Tree, integer)
  #265 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(1259): Parser->replaceVariables(string)
  #266 /srv/mediawiki/php-1.28.0-wmf.11/includes/parser/Parser.php(439): Parser->internalParse(string)
  #267 /srv/mediawiki/php-1.28.0-wmf.11/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
  #268 /srv/mediawiki/php-1.28.0-wmf.11/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
  #269 /srv/mediawiki/php-1.28.0-wmf.11/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Title, integer, ParserOptions)
  #270 /srv/mediawiki/php-1.28.0-wmf.11/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
  #271 /srv/mediawiki/php-1.28.0-wmf.11/includes/page/Article.php(662): PoolCounterWork->execute()
  #272 /srv/mediawiki/php-1.28.0-wmf.11/includes/page/ImagePage.php(171): Article->view()
  #273 /srv/mediawiki/php-1.28.0-wmf.11/includes/actions/ViewAction.php(44): ImagePage->view()
  #274 /srv/mediawiki/php-1.28.0-wmf.11/includes/MediaWiki.php(504): ViewAction->show()
  #275 /srv/mediawiki/php-1.28.0-wmf.11/includes/MediaWiki.php(288): MediaWiki->performAction(ImagePage, Title)
  #276 /srv/mediawiki/php-1.28.0-wmf.11/includes/MediaWiki.php(748): MediaWiki->performRequest()
  #277 /srv/mediawiki/php-1.28.0-wmf.11/includes/MediaWiki.php(520): MediaWiki->main()
  #278 /srv/mediawiki/php-1.28.0-wmf.11/index.php(43): MediaWiki->run()
  #279 /srv/mediawiki/w/index.php(3): include(string)
  #280 {main}
Verdy_p added a comment.EditedJul 23 2016, 12:30 AM

OK but the link was not the only info I gave (it was part of it).

The thumbnail was NOT visible on any wiki (red link shown, that link was just pointing to the new file upload file, there was nothing else, no exception visible). There are certainly other crashes but they are impossible to determine.

May be if you look in logs for referers, you'll find attempts to display this file on the home page of openstreetmap wiki: it just showed "Germany" (the caption of the red link pointing to the upload page for OSM wiki, as if it did not exist on Commons.) instead of the expected thumbnail icon.

It's impossible to get something else except when looking for the description page on Commons. When looking at the File:* page on other wiki, it was also showing that there was no such file and a banner to upload a new one locally (not to upload on Commons...)

wiki.openstreetmap.org appears to be using ForeignAPIRepo (possibly $wgUseInstantCommons). I see logs for the API calls used by ForeignAPIRepo, which again were erroring out by trying to parse the description page (from inside the CommonsMetadata extension) rather than anything to do with the thumbnailing. The failure of that API call would have prevented it from knowing the image existed in the first place.

No it was really breaking the home page of the OSM wiki where there were red links instead of thumbnails. Commons was then returning incorrect info as if the file did not exist (and there's no such file or description page on OSM wiki).

Only thumbnailing was involved, it did not work.

The home page of wiki OSM does not need anything from the description page, it should just render the image thumbnail (independantly of the content of its description page, which may or may not exist).

Of course when I saw the red link I pointed to it. I looked at it os OSM wiki, this then caused no error, but brought me to the file upload page, instead of showing its description page that should have been rendered on Commons. This is were there may have been errors logged there.

But nothing was visible when renfering the broken thumbnail on the home page (note that now it display the German flag correctly, and no longer a red textual "Germany" link to the upload page, because on Commons I've placed a working version of 2015 of the description page, and now Commons renders the thumbnail from any wiki).

You are now arguing from ignorance. Please review how ForeignAPIRepo works at a code level.

Anomie you reposonse is unfair and very impolite.
I've reported a *functional* failure, not an internal code bug, I'm not debugging the app.

My bug report was enough accurate for the functional level. The way it works internally cannot be debugged normally on standard wikis, given that the functional level does not report any error to the user, it just gives a false information (file does not exist, the wiki wants us to upload a new one).

This can be investigated only on non-standard debugging wikis, but not in Commons where the problem originates (except possibly by admins, but I don't have the pribileges to look into this on Commons).

I already told you why your assessment that there must be some other bug with thumbnailing because of the situation you observed on openstreetmap wiki is wrong, but you ignored it and repeated your erroneous assertion.

Verdy_p added a comment.EditedJul 23 2016, 3:52 PM

And once again, you are impolite and sending irrelevant response.
I did not diagnose where the bug is in the code. I showed a functional problem which is effectively in thumbnail rendering, separately of the problem that occurs when rendering the description page (another problem): it's a fact that the image was NOT rendered at all as if it did not exist and that the wikis were NOT attempting to show any description page.

IF there's any dependancy on how the description page is rendered that affects how images are rendered when we want to display a thumbnail, this is a bug.

Apparently the bug is that attempting to load image metadata (such as image size or format) also (incorrectly) wants to extract extra metadata about the page description, even if it is not the info requested. As the extra metadata requires parsing the wiki description page, and as this parsing failes, no metadata is returned at all (this should not happen: images do not necessarily have a description page on the same wiki)

In summary: separate clearly the meta data about images (from the [[c:Media:*]] storage)needed for their rendering/thumbnailing, from the meta data generated when parsing the description page (from the [[c:File:*]] wiki storage: something that was clearly NOT requested and should remain independant).

matmarex removed a subscriber: matmarex.Jul 23 2016, 4:26 PM
Tgr renamed this task from Error in mobile view API for an article in Belorussian wikipedia to Exception "Invalid marker...Expansion depth limit exceeded" thrown when template expansion limit is exceeded inside a strip marker.Jul 26 2016, 11:44 PM
Tgr updated the task description. (Show Details)

This seems to rise with the release of wmf.22:

loglines:

Invalid marker: '"UNIQ--<span class="error">Node-count limit exceeded</span>-00000011-QINU"'

on page:

https://he.wikisource.org/wiki/%D7%99%D7%A9%D7%A2%D7%99%D7%94%D7%95_%D7%98%D7%A2%D7%9E%D7%99%D7%9D_%D7%9E%D7%A1%D7%95%D7%9E%D7%9F

Matanya triaged this task as Unbreak Now! priority.Oct 12 2016, 10:48 PM
Restricted Application added subscribers: Jay8g, Luke081515, TerraCodes. · View Herald TranscriptOct 12 2016, 10:48 PM
greg added a subscriber: greg.Oct 13 2016, 5:09 PM

Change 315704 had a related patch set uploaded (by Anomie):
Avoid blowing up inside Parser::extensionSubstitution() when PP limits are exceeded

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

Regarding the increase in errors with the message "Node-count limit exceeded" instead of "Expansion depth limit exceeded", I'm going to guess that someone did something recently that's increasing the node count. Whether that's on the wiki side or on the MediaWiki side, I have no idea.

Change 315704 merged by jenkins-bot:
Avoid blowing up inside Parser::extensionSubstitution() when PP limits are exceeded

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

If it's on the wiki side, it would be interesting to have a list of wikis where the number of affected pages has increased (however I don't find any wiki where the [[Category:Pages where node count is exceeded]] is significantly higher, but probaly it is not even populated before this fatal bug occurs while in the middle of their parsing.

E.g. on the Hebrew Wikisource where this buig occurs in https://he.wikisource.org/wiki/%D7%99%D7%A9%D7%A2%D7%99%D7%94%D7%95_%D7%98%D7%A2%D7%9E%D7%99%D7%9D_%D7%9E%D7%A1%D7%95%D7%9E%D7%9F

this tracking [[Category:Pages where node count is exceeded]] remains completely empty...

greg lowered the priority of this task from Unbreak Now! to High.Oct 13 2016, 9:05 PM

(no longer blocking wmf.22 == not UBN! anymore)