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 "Preferences: Remove href="#" from stub threshold sample link"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryExtLinksUsage.php
diff --git
a/includes/api/ApiQueryExtLinksUsage.php
b/includes/api/ApiQueryExtLinksUsage.php
index
d508c55
..
4294f0a
100644
(file)
--- a/
includes/api/ApiQueryExtLinksUsage.php
+++ b/
includes/api/ApiQueryExtLinksUsage.php
@@
-155,7
+155,7
@@
class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase {
ApiResult::META_TYPE => 'assoc',
];
if ( $fld_ids ) {
- $vals['pageid'] =
intval( $row->page_id )
;
+ $vals['pageid'] =
(int)$row->page_id
;
}
if ( $fld_title ) {
$title = Title::makeTitle( $row->page_namespace, $row->page_title );