summaryrefslogtreecommitdiff
path: root/includes/SpecialUnwatchedpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialUnwatchedpages.php')
-rw-r--r--includes/SpecialUnwatchedpages.php14
1 files changed, 4 insertions, 10 deletions
diff --git a/includes/SpecialUnwatchedpages.php b/includes/SpecialUnwatchedpages.php
index f9dff724..fed0b590 100644
--- a/includes/SpecialUnwatchedpages.php
+++ b/includes/SpecialUnwatchedpages.php
@@ -1,19 +1,13 @@
<?php
/**
- * A special page that displays a list of pages that are not on anyones watchlist
- *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * A special page that displays a list of pages that are not on anyones watchlist.
+ * Implements Special:Unwatchedpages
*
+ * @addtogroup SpecialPage
* @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
*/
-
-/**
- * @package MediaWiki
- * @subpackage SpecialPage
- */
class UnwatchedpagesPage extends QueryPage {
function getName() { return 'Unwatchedpages'; }
@@ -21,7 +15,7 @@ class UnwatchedpagesPage extends QueryPage {
function isSyndicated() { return false; }
function getSQL() {
- $dbr =& wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
list( $page, $watchlist ) = $dbr->tableNamesN( 'page', 'watchlist' );
$mwns = NS_MEDIAWIKI;
return