Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/275766
Change subject: Make ApiQueryImageInfo::getInfo() public
......................................................................
Make ApiQueryImageInfo::getInfo() public
Used as such in core and TimedMediaHandler.
Change-Id: I0ec90d2cf9ae4cca31e93522e0f68e4d55a7bcfe
---
M includes/api/ApiQueryImageInfo.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/66/275766/1
diff --git a/includes/api/ApiQueryImageInfo.php
b/includes/api/ApiQueryImageInfo.php
index 6890046..b9ec2c3 100644
--- a/includes/api/ApiQueryImageInfo.php
+++ b/includes/api/ApiQueryImageInfo.php
@@ -357,7 +357,7 @@
* 'revdelUser': User to use when checking whether to show
revision-deleted fields.
* @return array Result array
*/
- static function getInfo( $file, $prop, $result, $thumbParams = null,
$opts = false ) {
+ public static function getInfo( $file, $prop, $result, $thumbParams =
null, $opts = false ) {
global $wgContLang;
$anyHidden = false;
--
To view, visit https://gerrit.wikimedia.org/r/275766
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ec90d2cf9ae4cca31e93522e0f68e4d55a7bcfe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits