Fixing DiffFormatter so it actually outputs valid diffs.
[lhc/web/wiklou.git] / includes / SpecialWantedcategories.php
index 03641bf..f3e8966 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * A querypage to list the most wanted categories
+ * A querypage to list the most wanted categories - implements Special:Wantedcategories
  *
  * @addtogroup SpecialPage
  *
@@ -8,10 +8,6 @@
  * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
  */
-
-/**
- * @addtogroup SpecialPage
- */
 class WantedCategoriesPage extends QueryPage {
 
        function getName() { return 'Wantedcategories'; }
@@ -19,7 +15,7 @@ class WantedCategoriesPage extends QueryPage {
        function isSyndicated() { return false; }
 
        function getSQL() {
-               $dbr =& wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_SLAVE );
                list( $categorylinks, $page ) = $dbr->tableNamesN( 'categorylinks', 'page' );
                $name = $dbr->addQuotes( $this->getName() );
                return
@@ -80,4 +76,4 @@ function wfSpecialWantedCategories() {
        $wpp->doQuery( $offset, $limit );
 }
 
-?>
+