dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a4484
)
Explicitly declare ApiQueryImageInfo::getInfo() public
author
Siebrand Mazeland
<siebrand@kitano.nl>
Tue, 8 Mar 2016 07:43:57 +0000
(08:43 +0100)
committer
Anomie
<bjorsch@wikimedia.org>
Tue, 8 Mar 2016 16:16:13 +0000
(16:16 +0000)
Used as such in core and TimedMediaHandler.
Change-Id: I0ec90d2cf9ae4cca31e93522e0f68e4d55a7bcfe
includes/api/ApiQueryImageInfo.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryImageInfo.php
b/includes/api/ApiQueryImageInfo.php
index
6890046
..
b9ec2c3
100644
(file)
--- a/
includes/api/ApiQueryImageInfo.php
+++ b/
includes/api/ApiQueryImageInfo.php
@@
-357,7
+357,7
@@
class ApiQueryImageInfo extends ApiQueryBase {
* '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;