// If for some reason the "oldid" is actually the current revision, it may be cached
if ( $titleObj->getLatestRevID() === intval( $oldid ) ) {
- $articleObj = new Article( $titleObj );
+ $articleObj = new Article( $titleObj, 0 );
$p_result = $this->getParsedSectionOrText( $articleObj, $titleObj, $text, $popts, $pageid ) ;
}
$wgTitle = $titleObj;
- $articleObj = new Article( $titleObj );
+ $articleObj = new Article( $titleObj, 0 );
if ( isset( $prop['revid'] ) ) {
$oldid = $articleObj->getRevIdFetched();
}