From a1789ddde42033f1b05cc4929491214ee6e79383 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 17 Dec 2015 09:15:42 +0100 Subject: Update to MediaWiki 1.26.0 --- includes/specials/SpecialPagesWithProp.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'includes/specials/SpecialPagesWithProp.php') diff --git a/includes/specials/SpecialPagesWithProp.php b/includes/specials/SpecialPagesWithProp.php index 670a3973..f211ec9b 100644 --- a/includes/specials/SpecialPagesWithProp.php +++ b/includes/specials/SpecialPagesWithProp.php @@ -40,7 +40,7 @@ class SpecialPagesWithProp extends QueryPage { return false; } - function execute( $par ) { + public function execute( $par ) { $this->setHeaders(); $this->outputHeader(); $this->getOutput()->addModuleStyles( 'mediawiki.special.pagesWithProp' ); @@ -100,7 +100,7 @@ class SpecialPagesWithProp extends QueryPage { return false; } - function getQueryInfo() { + public function getQueryInfo() { return array( 'tables' => array( 'page_props', 'page' ), 'fields' => array( @@ -113,9 +113,11 @@ class SpecialPagesWithProp extends QueryPage { 'pp_value', ), 'conds' => array( - 'page_id = pp_page', 'pp_propname' => $this->propName, ), + 'join_conds' => array( + 'page' => array( 'INNER JOIN', 'page_id = pp_page' ) + ), 'options' => array() ); } -- cgit v1.2.3-54-g00ecf