summaryrefslogtreecommitdiff
path: root/includes/SpecialUnusedtemplates.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
commitcecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch)
tree17266aa237742640aabee7856f0202317a45d540 /includes/SpecialUnusedtemplates.php
parent0bac06c301f2a83edb0236e4c2434da16848d549 (diff)
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert kleine Korrekturen am Design
Diffstat (limited to 'includes/SpecialUnusedtemplates.php')
-rw-r--r--includes/SpecialUnusedtemplates.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/includes/SpecialUnusedtemplates.php b/includes/SpecialUnusedtemplates.php
index 2af9abc6..8b72e8a7 100644
--- a/includes/SpecialUnusedtemplates.php
+++ b/includes/SpecialUnusedtemplates.php
@@ -1,19 +1,12 @@
<?php
/**
- * @package MediaWiki
- * @subpackage Special pages
- *
+ * implements Special:Unusedtemplates
* @author Rob Church <robchur@gmail.com>
* @copyright © 2006 Rob Church
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
+ * @addtogroup SpecialPage
*/
-
-/**
- * @package MediaWiki
- * @subpackage SpecialPage
- */
-
class UnusedtemplatesPage extends QueryPage {
function getName() { return( 'Unusedtemplates' ); }
@@ -22,7 +15,7 @@ class UnusedtemplatesPage extends QueryPage {
function sortDescending() { return false; }
function getSQL() {
- $dbr =& wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
list( $page, $templatelinks) = $dbr->tableNamesN( 'page', 'templatelinks' );
$sql = "SELECT 'Unusedtemplates' AS type, page_title AS title,
page_namespace AS namespace, 0 AS value