Merge "resourceloader: Remove needless MW-specific fallback"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 15 Apr 2019 18:58:25 +0000 (18:58 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 15 Apr 2019 18:58:25 +0000 (18:58 +0000)
includes/parser/Parser.php

index 91de550..c28d842 100644 (file)
@@ -2607,7 +2607,7 @@ class Parser {
                        // @TODO: disallow this word on all namespaces
                        $this->nsInfo->isContent( $this->mTitle->getNamespace() )
                ) {
-                       if ( $this->mRevisionId ) {
+                       if ( $this->mRevisionId || $this->mOptions->getSpeculativeRevId() ) {
                                return '-';
                        } else {
                                $this->mOutput->setFlag( 'vary-revision-exists' );