* Add wfReadOnlyReason() to supply the reason for the wiki being read only. Use it...
[lhc/web/wiklou.git] / includes / SpecialUncategorizedpages.php
index a71c25c..b26f6d9 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 /**
- *
+ * A special page looking for page without any category.
  * @addtogroup SpecialPage
  */
 class UncategorizedPagesPage extends PageQueryPage {
@@ -25,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() );
 
@@ -54,4 +54,4 @@ function wfSpecialUncategorizedpages() {
        return $lpp->doQuery( $offset, $limit );
 }
 
-?>
+