dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
19fe64a
)
Merge "parser: use "-" for revision ID for non-preview edit filter parse during save"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 15 Apr 2019 18:42:22 +0000
(18:42 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 15 Apr 2019 18:42:22 +0000
(18:42 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
91de550
..
c28d842
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-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' );