diff options
Diffstat (limited to 'includes/SpecialWantedpages.php')
-rw-r--r-- | includes/SpecialWantedpages.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index 8e5cee3e..8b700209 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -1,14 +1,12 @@ <?php /** * - * @package MediaWiki - * @subpackage SpecialPage + * @addtogroup SpecialPage */ /** - * - * @package MediaWiki - * @subpackage SpecialPage + * implements Special:Wantedpages + * @addtogroup SpecialPage */ class WantedPagesPage extends QueryPage { var $nlinks; @@ -30,7 +28,7 @@ class WantedPagesPage extends QueryPage { function getSQL() { global $wgWantedPagesThreshold; $count = $wgWantedPagesThreshold - 1; - $dbr =& wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE ); $pagelinks = $dbr->tableName( 'pagelinks' ); $page = $dbr->tableName( 'page' ); return |