diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:32:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-01 15:32:59 -0400 |
commit | 6dc1997577fab2c366781fd7048144935afa0012 (patch) | |
tree | 8918d28c7ab4342f0738985e37af1dfc42d0e93a /includes/specials/SpecialPagesWithProp.php | |
parent | 150f94f051128f367bc89f6b7e5f57eb2a69fc62 (diff) | |
parent | fa89acd685cb09cdbe1c64cbb721ec64975bbbc1 (diff) |
Merge commit 'fa89acd'
# Conflicts:
# .gitignore
# extensions/ArchInterWiki.sql
Diffstat (limited to 'includes/specials/SpecialPagesWithProp.php')
-rw-r--r-- | includes/specials/SpecialPagesWithProp.php | 8 |
1 files changed, 5 insertions, 3 deletions
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() ); } |