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 ""spellcheck" attribute for HTMLForm "text" and "textarea""
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryProtectedTitles.php
diff --git
a/includes/api/ApiQueryProtectedTitles.php
b/includes/api/ApiQueryProtectedTitles.php
index
098bfc7
..
033310d
100644
(file)
--- a/
includes/api/ApiQueryProtectedTitles.php
+++ b/
includes/api/ApiQueryProtectedTitles.php
@@
-123,7
+123,7
@@
class ApiQueryProtectedTitles extends ApiQueryGeneratorBase {
}
if ( isset( $prop['userid'] ) || /*B/C*/isset( $prop['user'] ) ) {
}
if ( isset( $prop['userid'] ) || /*B/C*/isset( $prop['user'] ) ) {
- $vals['userid'] = $row->pt_user;
+ $vals['userid'] =
(int)
$row->pt_user;
}
if ( isset( $prop['comment'] ) ) {
}
if ( isset( $prop['comment'] ) ) {
@@
-156,7
+156,7
@@
class ApiQueryProtectedTitles extends ApiQueryGeneratorBase {
}
if ( is_null( $resultPageSet ) ) {
}
if ( is_null( $resultPageSet ) ) {
- $result->
setIndexedTagName_internal
(
+ $result->
addIndexedTagName
(
array( 'query', $this->getModuleName() ),
$this->getModulePrefix()
);
array( 'query', $this->getModuleName() ),
$this->getModulePrefix()
);
@@
-224,7
+224,7
@@
class ApiQueryProtectedTitles extends ApiQueryGeneratorBase {
);
}
);
}
- p
ublic
function getExamplesMessages() {
+ p
rotected
function getExamplesMessages() {
return array(
'action=query&list=protectedtitles'
=> 'apihelp-query+protectedtitles-example-simple',
return array(
'action=query&list=protectedtitles'
=> 'apihelp-query+protectedtitles-example-simple',