* @param $id int The page_id
*/
public static function fixLinksFromArticle( $id ) {
- global $wgParser, $wgContLang;
-
$page = WikiPage::newFromID( $id );
LinkCache::singleton()->clear();
return;
}
- $content = $page->getContent( REVISION::RAW );
+ $content = $page->getContent( Revision::RAW );
if ( null === false ) {
return;
}