summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialDoubleRedirects.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
committerPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
commit63601400e476c6cf43d985f3e7b9864681695ed4 (patch)
treef7846203a952e38aaf66989d0a4702779f549962 /includes/specials/SpecialDoubleRedirects.php
parent8ff01378c9e0207f9169b81966a51def645b6a51 (diff)
Update to MediaWiki 1.20.2
this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024
Diffstat (limited to 'includes/specials/SpecialDoubleRedirects.php')
-rw-r--r--includes/specials/SpecialDoubleRedirects.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/specials/SpecialDoubleRedirects.php b/includes/specials/SpecialDoubleRedirects.php
index a6df66f6..5864ca9f 100644
--- a/includes/specials/SpecialDoubleRedirects.php
+++ b/includes/specials/SpecialDoubleRedirects.php
@@ -27,7 +27,7 @@
*
* @ingroup SpecialPage
*/
-class DoubleRedirectsPage extends PageQueryPage {
+class DoubleRedirectsPage extends QueryPage {
function __construct( $name = 'DoubleRedirects' ) {
parent::__construct( $name );
@@ -47,13 +47,13 @@ class DoubleRedirectsPage extends PageQueryPage {
'tables' => array ( 'ra' => 'redirect',
'rb' => 'redirect', 'pa' => 'page',
'pb' => 'page', 'pc' => 'page' ),
- 'fields' => array ( 'pa.page_namespace AS namespace',
- 'pa.page_title AS title',
- 'pa.page_title AS value',
- 'pb.page_namespace AS nsb',
- 'pb.page_title AS tb',
- 'pc.page_namespace AS nsc',
- 'pc.page_title AS tc' ),
+ 'fields' => array ( 'namespace' => 'pa.page_namespace',
+ 'title' => 'pa.page_title',
+ 'value' => 'pa.page_title',
+ 'nsb' => 'pb.page_namespace',
+ 'tb' => 'pb.page_title',
+ 'nsc' => 'pc.page_namespace',
+ 'tc' => 'pc.page_title' ),
'conds' => array ( 'ra.rd_from = pa.page_id',
'pb.page_namespace = ra.rd_namespace',
'pb.page_title = ra.rd_title',