Somebody forgot the table names *ahem*
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 8 Feb 2005 20:46:22 +0000 (20:46 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 8 Feb 2005 20:46:22 +0000 (20:46 +0000)
includes/SpecialRecentchangeslinked.php

index b90b7b6..343c3e9 100644 (file)
@@ -65,6 +65,8 @@ function wfSpecialRecentchangeslinked( $par = NULL ) {
                $cmq = 'AND rev_minor_edit=0';
        } else { $cmq = ''; }
 
+       extract( $dbr->tableNames( 'categorylinks', 'links', 'revision', 'page' ) );
+       
        // If target is a Category, use categorylinks and invert from and to
        if( $nt->getNamespace() == NS_CATEGORY ) {
                $catkey = $dbr->addQuotes( $nt->getDBKey() );