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
Fix-up for I2ac604d3c042d
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryCategories.php
diff --git
a/includes/api/ApiQueryCategories.php
b/includes/api/ApiQueryCategories.php
index
6aa714e
..
7b3e6e3
100644
(file)
--- a/
includes/api/ApiQueryCategories.php
+++ b/
includes/api/ApiQueryCategories.php
@@
-150,8
+150,8
@@
class ApiQueryCategories extends ApiQueryGeneratorBase {
if ( isset( $prop['timestamp'] ) ) {
$vals['timestamp'] = wfTimestamp( TS_ISO_8601, $row->cl_timestamp );
}
if ( isset( $prop['timestamp'] ) ) {
$vals['timestamp'] = wfTimestamp( TS_ISO_8601, $row->cl_timestamp );
}
- if ( isset( $prop['hidden'] )
&& !is_null( $row->pp_propname )
) {
- $vals['hidden'] =
''
;
+ if ( isset( $prop['hidden'] ) ) {
+ $vals['hidden'] =
!is_null( $row->pp_propname )
;
}
$fit = $this->addPageSubItem( $row->cl_from, $vals );
}
$fit = $this->addPageSubItem( $row->cl_from, $vals );
@@
-226,6
+226,6
@@
class ApiQueryCategories extends ApiQueryGeneratorBase {
}
public function getHelpUrls() {
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:
Properties#categories_.2F_cl
';
+ return 'https://www.mediawiki.org/wiki/API:
Categories
';
}
}
}
}