diff options
Diffstat (limited to 'includes/SpecialUncategorizedpages.php')
-rw-r--r-- | includes/SpecialUncategorizedpages.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/includes/SpecialUncategorizedpages.php b/includes/SpecialUncategorizedpages.php index dbf23a60..408ac726 100644 --- a/includes/SpecialUncategorizedpages.php +++ b/includes/SpecialUncategorizedpages.php @@ -1,14 +1,12 @@ <?php /** * - * @package MediaWiki - * @subpackage SpecialPage + * @addtogroup SpecialPage */ /** - * - * @package MediaWiki - * @subpackage SpecialPage + * A special page looking for page without any category. + * @addtogroup SpecialPage */ class UncategorizedPagesPage extends PageQueryPage { var $requestedNamespace = NS_MAIN; @@ -27,7 +25,7 @@ class UncategorizedPagesPage extends PageQueryPage { function isSyndicated() { return false; } function getSQL() { - $dbr =& wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE ); list( $page, $categorylinks ) = $dbr->tableNamesN( 'page', 'categorylinks' ); $name = $dbr->addQuotes( $this->getName() ); |