by default when 'watchdefault' option is on
* Skip update of disused 'rc_cur_time' field (todo: discard the field)
* (bug 3506) Avoid MySQL error when Listusers returns no results
+* (bug 3182) Clear link cache during import to prevent memory leak
=== Caveats ===
$userText = $this->getUser();
}
+ // avoid memory leak...?
+ global $wgLinkCache;
+ $wgLinkCache->clear();
+
$article = new Article( $this->title );
$pageId = $article->getId();
if( $pageId == 0 ) {
function handleRevision( $rev ) {
$title = $rev->getTitle();
if (!$title) {
+ $this->progress( "Got bogus revision with null title!" );
return;
}
$display = $title->getPrefixedText();