$fname = 'refreshLinks';
$dbr =& wfGetDB( DB_SLAVE );
- $dbw =& wfGetDB( DB_MASTER );
$start = intval( $start );
# Don't generate TeX PNGs (lack of a sensible current directory causes errors anyway)
}
fixLinksFromArticle( $id );
}
-
-
}
}
function fixLinksFromArticle( $id ) {
- global $wgTitle, $wgArticle, $wgOut, $wgParser;
+ global $wgTitle, $wgParser;
$wgTitle = Title::newFromID( $id );
$dbw =& wfGetDB( DB_MASTER );