Mdale has submitted this change and it was merged.
Change subject: Fix signature of ApiQueryVideoInfo::getPropertyDescriptions()
......................................................................
Fix signature of ApiQueryVideoInfo::getPropertyDescriptions()
Declaration of ApiQueryVideoInfo::getPropertyDescriptions() should be
compatible with that of ApiQueryImageInfo::getPropertyDescriptions()
Change-Id: I5d382d1eaf006db6b58c1d7a33d80be57b98f87b
---
M ApiQueryVideoInfo.php
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Mdale: Verified; Looks good to me, approved
jenkins-bot: Checked
diff --git a/ApiQueryVideoInfo.php b/ApiQueryVideoInfo.php
index 08715da..7bcd409 100644
--- a/ApiQueryVideoInfo.php
+++ b/ApiQueryVideoInfo.php
@@ -41,8 +41,8 @@
return $prop;
}
- public static function getPropertyDescriptions( $filter = array() ) {
- $s = parent::getPropertyDescriptions();
+ public static function getPropertyDescriptions( $filter = array(),
$modulePrefix = '' ) {
+ $s = parent::getPropertyDescriptions( $filter, $modulePrefix );
$s[] = ' derivatives -Adds an array of video source
derivatives';
return $s;
}
@@ -235,4 +235,4 @@
return __CLASS__ . ': $Id$';
}
-}
\ No newline at end of file
+}
--
To view, visit https://gerrit.wikimedia.org/r/95753
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5d382d1eaf006db6b58c1d7a33d80be57b98f87b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Gergő Tisza <[email protected]>
Gerrit-Reviewer: Mdale <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits