* (bug 6618) Improve permissions/error detection in Special:Lockdb
* Quick hack for extension testing: parser test doesn't create new message
cache object.
+* (bug 6299) Maintain parser's revision ID across recursive calls to fix
+ {{REVISIONID}} when Cite extension is used
== Languages updated ==
$this->mOptions = $options;
$this->mTitle =& $title;
- $this->mRevisionId = $revid;
+ $oldRevisionId = $this->mRevisionId;
+ if( $revid !== null ) {
+ $this->mRevisionId = $revid;
+ }
$this->mOutputType = OT_HTML;
//$text = $this->strip( $text, $this->mStripState );
wfRunHooks( 'ParserAfterTidy', array( &$this, &$text ) );
$this->mOutput->setText( $text );
+ $this->mRevisionId = $oldRevisionId;
wfProfileOut( $fname );
return $this->mOutput;