parser: apply $wgMiserMode restriction to REVISIONID for NS_USER/NS_PROJECT
Bug: T235957 Change-Id: I7dbf7ab5b730a18d44e4bbaad46475c01d3b1291
This commit is contained in:
parent
9da23edbea
commit
ea6bc312e7
1 changed files with 1 additions and 2 deletions
|
|
@ -2835,8 +2835,7 @@ class Parser {
|
|||
$this->svcOptions->get( 'MiserMode' ) &&
|
||||
!$this->mOptions->getInterfaceMessage() &&
|
||||
// @TODO: disallow this word on all namespaces
|
||||
$this->nsInfo->isSubject( $namespace ) &&
|
||||
!in_array( $namespace, [ NS_USER, NS_PROJECT ], true )
|
||||
$this->nsInfo->isSubject( $namespace )
|
||||
) {
|
||||
// Use a stub result instead of the actual revision ID in order to avoid
|
||||
// double parses on page save but still allow preview detection (T137900)
|
||||
|
|
|
|||
Loading…
Reference in a new issue