diff options
Diffstat (limited to 'includes/SpecialLonelypages.php')
-rw-r--r-- | includes/SpecialLonelypages.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/includes/SpecialLonelypages.php b/includes/SpecialLonelypages.php index 8770a9e7..430af7a7 100644 --- a/includes/SpecialLonelypages.php +++ b/includes/SpecialLonelypages.php @@ -1,14 +1,13 @@ <?php /** * - * @package MediaWiki - * @subpackage SpecialPage + * @addtogroup SpecialPage */ /** - * - * @package MediaWiki - * @subpackage SpecialPage + * A special page looking for articles with no article linking to them, + * thus being lonely. + * @addtogroup SpecialPage */ class LonelyPagesPage extends PageQueryPage { @@ -29,7 +28,7 @@ class LonelyPagesPage extends PageQueryPage { function isSyndicated() { return false; } function getSQL() { - $dbr =& wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE ); list( $page, $pagelinks ) = $dbr->tableNamesN( 'page', 'pagelinks' ); return |