Page MenuHomePhabricator

Typo added to Parser.php in r16052
Closed, ResolvedPublic

Description

Author: ayg

Description:
In r16052, when Tim was adding the OT_PREPROCESS output type, he changed

  • if ( $this->mOutputType == OT_HTML || $this->mOutputType ==

OT_WIKI ) {
+ if ( !$this->mOutputType != OT_MSG ) {

That should, of course, be

+ if ( $this->mOutputType != OT_MSG ) {

with no ! before $this->mOutputType, an integer variable. The bug is on line
2719, and I'm not sure what actual effect it has, since I haven't looked too
closely at this bit of code (variable substitution).


Version: unspecified
Severity: minor

Details

Reference
bz7351

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:24 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz7351.
bzimport added a subscriber: Unknown Object (MLST).