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/api/ApiQueryBacklinksprop.php | |
parent | 150f94f051128f367bc89f6b7e5f57eb2a69fc62 (diff) | |
parent | fa89acd685cb09cdbe1c64cbb721ec64975bbbc1 (diff) |
Merge commit 'fa89acd'
# Conflicts:
# .gitignore
# extensions/ArchInterWiki.sql
Diffstat (limited to 'includes/api/ApiQueryBacklinksprop.php')
-rw-r--r-- | includes/api/ApiQueryBacklinksprop.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/api/ApiQueryBacklinksprop.php b/includes/api/ApiQueryBacklinksprop.php index 8e271e7b..a50d58b2 100644 --- a/includes/api/ApiQueryBacklinksprop.php +++ b/includes/api/ApiQueryBacklinksprop.php @@ -277,7 +277,7 @@ class ApiQueryBacklinksprop extends ApiQueryGeneratorBase { $vals = array(); if ( $fld_pageid ) { - $vals['pageid'] = $row->page_id; + $vals['pageid'] = (int)$row->page_id; } if ( $fld_title ) { ApiQueryBase::addTitleInfo( $vals, @@ -335,6 +335,7 @@ class ApiQueryBacklinksprop extends ApiQueryGeneratorBase { ), ApiBase::PARAM_ISMULTI => true, ApiBase::PARAM_DFLT => 'pageid|title', + ApiBase::PARAM_HELP_MSG_PER_VALUE => array(), ), 'namespace' => array( ApiBase::PARAM_ISMULTI => true, @@ -405,8 +406,7 @@ class ApiQueryBacklinksprop extends ApiQueryGeneratorBase { } public function getHelpUrls() { - $name = $this->getModuleName(); - $prefix = $this->getModulePrefix(); - return "https://www.mediawiki.org/wiki/API:Properties#{$name}_.2F_{$prefix}"; + $name = ucfirst( $this->getModuleName() ); + return "https://www.mediawiki.org/wiki/API:{$name}"; } } |