TheDJ has uploaded a new change for review. https://gerrit.wikimedia.org/r/198522
Change subject: API: Pass pageId as intval to avoid error in XML output ...................................................................... API: Pass pageId as intval to avoid error in XML output T57743 reported something similar, leading me to find this problem. Change-Id: I012d68301cb928ff746fd9fc0d50d03041021750 --- M ApiQueryVideoInfo.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TimedMediaHandler refs/changes/22/198522/1 diff --git a/ApiQueryVideoInfo.php b/ApiQueryVideoInfo.php index cf67321..c9ddc8f 100644 --- a/ApiQueryVideoInfo.php +++ b/ApiQueryVideoInfo.php @@ -215,7 +215,7 @@ foreach ( $pages as $pageid => $arr ) { if ( !isset( $arr['imagerepository'] ) ) { $result->addValue( - array( 'query', 'pages', $pageid ), + array( 'query', 'pages', intval( $pageid ) ), 'imagerepository', '' ); } -- To view, visit https://gerrit.wikimedia.org/r/198522 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I012d68301cb928ff746fd9fc0d50d03041021750 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TimedMediaHandler Gerrit-Branch: master Gerrit-Owner: TheDJ <hartman.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits