summaryrefslogtreecommitdiff
path: root/includes/SpecialShortpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialShortpages.php')
-rw-r--r--includes/SpecialShortpages.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php
index 03164deb..72b093e0 100644
--- a/includes/SpecialShortpages.php
+++ b/includes/SpecialShortpages.php
@@ -1,15 +1,13 @@
<?php
/**
*
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
*/
/**
* SpecialShortpages extends QueryPage. It is used to return the shortest
* pages in the database.
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
*/
class ShortPagesPage extends QueryPage {
@@ -29,7 +27,7 @@ class ShortPagesPage extends QueryPage {
}
function getSQL() {
- $dbr =& wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
$page = $dbr->tableName( 'page' );
$name = $dbr->addQuotes( $this->getName() );