$title = null;
}
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = $this->getDB( DB_SLAVE );
// See also SpecialDoubleRedirects
$tables = array(
foreach ( $res as $row ) {
$titleA = Title::makeTitle( $row->pa_namespace, $row->pa_title );
$titleB = Title::makeTitle( $row->pb_namespace, $row->pb_title );
- RequestContext::getMain()->setTitle( $titleA );
$processedTitles .= "* [[$titleA]]\n";