FILE: includes\page\Article.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
656 | ERROR | Nested inline ternary statements, in PHP, may not
| | behave as you intend without parentheses
| | (MediaWiki.Usage.NestedInlineTernary.UnparenthesizedTernary)
----------------------------------------------------------------------Code is:
# Get the ParserOutput actually *displayed* here. # Note that $this->mParserOutput is the *current*/oldid version output. $pOutput = ( $outputDone instanceof ParserOutput ) ? $outputDone // object fetched by hook : $this->mParserOutput ?: null; // ParserOutput or null, avoid false
Was added with https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/453190/