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
newlines in wfDebug() calls
[lhc/web/wiklou.git]
/
includes
/
media
/
XMPInfo.php
diff --git
a/includes/media/XMPInfo.php
b/includes/media/XMPInfo.php
index
01b07db
..
f0b2cb5
100644
(file)
--- a/
includes/media/XMPInfo.php
+++ b/
includes/media/XMPInfo.php
@@
-31,8
+31,8
@@
class XMPInfo {
/** get the items array
* @return Array XMP item configuration array.
*/
/** get the items array
* @return Array XMP item configuration array.
*/
- public static function getItems
(
) {
- if( !self::$ranHooks ) {
+ public static function getItems
(
) {
+ if
( !self::$ranHooks ) {
// This is for if someone makes a custom metadata extension.
// For example, a medical wiki might want to decode DICOM xmp properties.
wfRunHooks( 'XMPGetInfo', Array( &self::$items ) );
// This is for if someone makes a custom metadata extension.
// For example, a medical wiki might want to decode DICOM xmp properties.
wfRunHooks( 'XMPGetInfo', Array( &self::$items ) );
@@
-428,7
+428,7
@@
class XMPInfo {
'mode' => XMPReader::MODE_SIMPLE,
'validate' => 'validateClosed',
/* can't use a range, as it skips... */
'mode' => XMPReader::MODE_SIMPLE,
'validate' => 'validateClosed',
/* can't use a range, as it skips... */
- 'choices' =>
array( '0' => true, '1' => true,
+ 'choices' => array( '0' => true, '1' => true,
'2' => true, '3' => true, '4' => true,
'9' => true, '10' => true, '11' => true,
'12' => true, '13' => true,
'2' => true, '3' => true, '4' => true,
'9' => true, '10' => true, '11' => true,
'12' => true, '13' => true,