* (bug 31759) Undefined property notice in querypages API
authorSam Reed <reedy@users.mediawiki.org>
Sun, 11 Dec 2011 16:35:50 +0000 (16:35 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 11 Dec 2011 16:35:50 +0000 (16:35 +0000)
RELEASE-NOTES-1.19
includes/specials/SpecialBrokenRedirects.php
includes/specials/SpecialDoubleRedirects.php
includes/specials/SpecialListredirects.php

index da9ca28..721603b 100644 (file)
@@ -176,8 +176,9 @@ production.
 * (bug 31212) History tab not collapsed when the screen is narrow
 * (bug 15521) Use new section summary when the action of adding a new section
   also happens to create the page
-* (bug 32960) remove EmailAuthenticationTimestamp from database when a
+* (bug 32960) Remove EmailAuthenticationTimestamp from database when a
   email address is removed
+* (bug 31759) Undefined property notice in querypages API
 
 === API changes in 1.19 ===
 * (bug 19838) siprop=interwikimap can now use the interwiki cache.
index 5279481..b8dbe9e 100644 (file)
@@ -47,6 +47,7 @@ class BrokenRedirectsPage extends PageQueryPage {
                                        'p2' => 'page' ),
                        'fields' => array( 'p1.page_namespace AS namespace',
                                        'p1.page_title AS title',
+                                       'p1.page_title AS value',
                                        'rd_namespace',
                                        'rd_title'
                        ),
index 78f5531..8837c07 100644 (file)
@@ -49,6 +49,7 @@ class DoubleRedirectsPage extends PageQueryPage {
                                        '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',
index 1a25d6c..f90e215 100644 (file)
@@ -43,6 +43,8 @@ class ListredirectsPage extends QueryPage {
                        'tables' => array( 'p1' => 'page', 'redirect', 'p2' => 'page' ),
                        'fields' => array( 'p1.page_namespace AS namespace',
                                        'p1.page_title AS title',
+                                       'p1.page_title AS value',
+                                       'p1.page_title AS value',
                                        'rd_namespace',
                                        'rd_title',
                                        'rd_fragment',