From 8f1abf5c90e68f23c155604eafee26c6fe895130 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 11 Dec 2011 16:35:50 +0000 Subject: [PATCH] * (bug 31759) Undefined property notice in querypages API --- RELEASE-NOTES-1.19 | 3 ++- includes/specials/SpecialBrokenRedirects.php | 1 + includes/specials/SpecialDoubleRedirects.php | 1 + includes/specials/SpecialListredirects.php | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index da9ca28375..721603bedb 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -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. diff --git a/includes/specials/SpecialBrokenRedirects.php b/includes/specials/SpecialBrokenRedirects.php index 5279481245..b8dbe9e862 100644 --- a/includes/specials/SpecialBrokenRedirects.php +++ b/includes/specials/SpecialBrokenRedirects.php @@ -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' ), diff --git a/includes/specials/SpecialDoubleRedirects.php b/includes/specials/SpecialDoubleRedirects.php index 78f5531f7e..8837c07ab9 100644 --- a/includes/specials/SpecialDoubleRedirects.php +++ b/includes/specials/SpecialDoubleRedirects.php @@ -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', diff --git a/includes/specials/SpecialListredirects.php b/includes/specials/SpecialListredirects.php index 1a25d6c647..f90e215f2a 100644 --- a/includes/specials/SpecialListredirects.php +++ b/includes/specials/SpecialListredirects.php @@ -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', -- 2.20.1