Index: trunk/phase3/includes/api/ApiParse.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | |
97 | 97 | // If for some reason the "oldid" is actually the current revision, it may be cached |
98 | 98 | if ( $titleObj->getLatestRevID() === intval( $oldid ) ) { |
99 | | - $articleObj = new Article( $titleObj ); |
| 99 | + $articleObj = new Article( $titleObj, 0 ); |
100 | 100 | |
101 | 101 | $p_result = $this->getParsedSectionOrText( $articleObj, $titleObj, $text, $popts, $pageid ) ; |
102 | 102 | |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | } |
144 | 144 | $wgTitle = $titleObj; |
145 | 145 | |
146 | | - $articleObj = new Article( $titleObj ); |
| 146 | + $articleObj = new Article( $titleObj, 0 ); |
147 | 147 | if ( isset( $prop['revid'] ) ) { |
148 | 148 | $oldid = $articleObj->getRevIdFetched(); |
149 | 149 | } |