summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialBrokenRedirects.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialBrokenRedirects.php')
-rw-r--r--includes/specials/SpecialBrokenRedirects.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/specials/SpecialBrokenRedirects.php b/includes/specials/SpecialBrokenRedirects.php
index b8dbe9e8..8119e6d1 100644
--- a/includes/specials/SpecialBrokenRedirects.php
+++ b/includes/specials/SpecialBrokenRedirects.php
@@ -27,7 +27,7 @@
*
* @ingroup SpecialPage
*/
-class BrokenRedirectsPage extends PageQueryPage {
+class BrokenRedirectsPage extends QueryPage {
function __construct( $name = 'BrokenRedirects' ) {
parent::__construct( $name );
@@ -45,9 +45,9 @@ class BrokenRedirectsPage extends PageQueryPage {
return array(
'tables' => array( 'redirect', 'p1' => 'page',
'p2' => 'page' ),
- 'fields' => array( 'p1.page_namespace AS namespace',
- 'p1.page_title AS title',
- 'p1.page_title AS value',
+ 'fields' => array( 'namespace' => 'p1.page_namespace',
+ 'title' => 'p1.page_title',
+ 'value' => 'p1.page_title',
'rd_namespace',
'rd_title'
),