dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Expand the protocol for proto-relative links when printing"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryPageProps.php
diff --git
a/includes/api/ApiQueryPageProps.php
b/includes/api/ApiQueryPageProps.php
index
2de5710
..
b68a385
100644
(file)
--- a/
includes/api/ApiQueryPageProps.php
+++ b/
includes/api/ApiQueryPageProps.php
@@
-104,9
+104,9
@@
class ApiQueryPageProps extends ApiQueryBase {
* Add page properties to an ApiResult, adding a continue
* parameter if it doesn't fit.
*
* Add page properties to an ApiResult, adding a continue
* parameter if it doesn't fit.
*
- * @param
$result ApiR
esult
- * @param
$page int
- * @param
$props array
+ * @param
ApiResult $r
esult
+ * @param
int $page
+ * @param
array $props
* @return bool True if it fits in the result
*/
private function addPageProps( $result, $page, $props ) {
* @return bool True if it fits in the result
*/
private function addPageProps( $result, $page, $props ) {
@@
-115,6
+115,7
@@
class ApiQueryPageProps extends ApiQueryBase {
if ( !$fit ) {
$this->setContinueEnumParameter( 'continue', $page );
}
if ( !$fit ) {
$this->setContinueEnumParameter( 'continue', $page );
}
+
return $fit;
}
return $fit;
}
@@
-134,12
+135,13
@@
class ApiQueryPageProps extends ApiQueryBase {
public function getParamDescription() {
return array(
'continue' => 'When more results are available, use this to continue',
public function getParamDescription() {
return array(
'continue' => 'When more results are available, use this to continue',
- 'prop' => 'Only list these props. Useful for checking whether a certain page uses a certain page prop',
+ 'prop' => 'Only list these props. Useful for checking whether a ' .
+ 'certain page uses a certain page prop',
);
}
public function getDescription() {
);
}
public function getDescription() {
- return 'Get various properties defined in the page content';
+ return 'Get various properties defined in the page content
.
';
}
public function getExamples() {
}
public function getExamples() {