Go to the documentation of this file.
34 if ( !self::$ranHooks ) {
38 self::$ranHooks =
true;
73 'http://ns.adobe.com/exif/1.0/' =>
array(
74 'ApertureValue' =>
array(
75 'map_group' =>
'exif',
77 'validate' =>
'validateRational'
79 'BrightnessValue' =>
array(
80 'map_group' =>
'exif',
82 'validate' =>
'validateRational'
84 'CompressedBitsPerPixel' =>
array(
85 'map_group' =>
'exif',
87 'validate' =>
'validateRational'
89 'DigitalZoomRatio' =>
array(
90 'map_group' =>
'exif',
92 'validate' =>
'validateRational'
94 'ExposureBiasValue' =>
array(
95 'map_group' =>
'exif',
97 'validate' =>
'validateRational'
99 'ExposureIndex' =>
array(
100 'map_group' =>
'exif',
102 'validate' =>
'validateRational'
104 'ExposureTime' =>
array(
105 'map_group' =>
'exif',
107 'validate' =>
'validateRational'
109 'FlashEnergy' =>
array(
110 'map_group' =>
'exif',
112 'validate' =>
'validateRational',
115 'map_group' =>
'exif',
117 'validate' =>
'validateRational'
119 'FocalLength' =>
array(
120 'map_group' =>
'exif',
122 'validate' =>
'validateRational'
124 'FocalPlaneXResolution' =>
array(
125 'map_group' =>
'exif',
127 'validate' =>
'validateRational'
129 'FocalPlaneYResolution' =>
array(
130 'map_group' =>
'exif',
132 'validate' =>
'validateRational'
134 'GPSAltitude' =>
array(
135 'map_group' =>
'exif',
137 'validate' =>
'validateRational',
139 'GPSDestBearing' =>
array(
140 'map_group' =>
'exif',
142 'validate' =>
'validateRational'
144 'GPSDestDistance' =>
array(
145 'map_group' =>
'exif',
147 'validate' =>
'validateRational'
150 'map_group' =>
'exif',
152 'validate' =>
'validateRational'
154 'GPSImgDirection' =>
array(
155 'map_group' =>
'exif',
157 'validate' =>
'validateRational'
160 'map_group' =>
'exif',
162 'validate' =>
'validateRational'
165 'map_group' =>
'exif',
167 'validate' =>
'validateRational'
169 'MaxApertureValue' =>
array(
170 'map_group' =>
'exif',
172 'validate' =>
'validateRational'
174 'ShutterSpeedValue' =>
array(
175 'map_group' =>
'exif',
177 'validate' =>
'validateRational'
179 'SubjectDistance' =>
array(
180 'map_group' =>
'exif',
182 'validate' =>
'validateRational'
191 'RedEyeMode' =>
true,
194 'validate' =>
'validateFlash',
195 'map_group' =>
'exif',
198 'map_group' =>
'exif',
199 'validate' =>
'validateBoolean',
201 'structPart' =>
true,
204 'map_group' =>
'exif',
205 'validate' =>
'validateBoolean',
207 'structPart' =>
true,
210 'map_group' =>
'exif',
211 'validate' =>
'validateClosed',
213 'choices' =>
array(
'0' =>
true,
'1' =>
true,
214 '2' =>
true,
'3' =>
true ),
215 'structPart' =>
true,
218 'map_group' =>
'exif',
219 'validate' =>
'validateClosed',
221 'choices' =>
array(
'0' =>
true,
222 '2' =>
true,
'3' =>
true ),
223 'structPart' =>
true,
225 'RedEyeMode' =>
array(
226 'map_group' =>
'exif',
227 'validate' =>
'validateBoolean',
229 'structPart' =>
true,
232 'ISOSpeedRatings' =>
array(
233 'map_group' =>
'exif',
235 'validate' =>
'validateInteger'
238 'ColorSpace' =>
array(
239 'map_group' =>
'exif',
241 'validate' =>
'validateClosed',
242 'choices' =>
array(
'1' =>
true,
'65535' =>
true ),
244 'ComponentsConfiguration' =>
array(
245 'map_group' =>
'exif',
247 'validate' =>
'validateClosed',
248 'choices' =>
array(
'1' =>
true,
'2' =>
true,
'3' =>
true,
'4' =>
true,
249 '5' =>
true,
'6' =>
true )
252 'map_group' =>
'exif',
254 'validate' =>
'validateClosed',
255 'choices' =>
array(
'0' =>
true,
'1' =>
true,
'2' =>
true )
257 'CustomRendered' =>
array(
258 'map_group' =>
'exif',
260 'validate' =>
'validateClosed',
261 'choices' =>
array(
'0' =>
true,
'1' =>
true )
263 'DateTimeOriginal' =>
array(
264 'map_group' =>
'exif',
266 'validate' =>
'validateDate',
268 'DateTimeDigitized' =>
array(
269 'map_group' =>
'exif',
271 'validate' =>
'validateDate',
277 'ExifVersion' =>
array(
278 'map_group' =>
'exif',
281 'ExposureMode' =>
array(
282 'map_group' =>
'exif',
284 'validate' =>
'validateClosed',
288 'ExposureProgram' =>
array(
289 'map_group' =>
'exif',
291 'validate' =>
'validateClosed',
295 'FileSource' =>
array(
296 'map_group' =>
'exif',
298 'validate' =>
'validateClosed',
299 'choices' =>
array(
'3' =>
true )
301 'FlashpixVersion' =>
array(
302 'map_group' =>
'exif',
305 'FocalLengthIn35mmFilm' =>
array(
306 'map_group' =>
'exif',
308 'validate' =>
'validateInteger',
310 'FocalPlaneResolutionUnit' =>
array(
311 'map_group' =>
'exif',
313 'validate' =>
'validateClosed',
314 'choices' =>
array(
'2' =>
true,
'3' =>
true ),
316 'GainControl' =>
array(
317 'map_group' =>
'exif',
319 'validate' =>
'validateClosed',
324 'GPSAltitudeRef' =>
array(
325 'map_group' =>
'exif',
327 'validate' =>
'validateClosed',
328 'choices' =>
array(
'0' =>
true,
'1' =>
true ),
330 'GPSAreaInformation' =>
array(
331 'map_group' =>
'exif',
334 'GPSDestBearingRef' =>
array(
335 'map_group' =>
'exif',
337 'validate' =>
'validateClosed',
338 'choices' =>
array(
'T' =>
true,
'M' =>
true ),
340 'GPSDestDistanceRef' =>
array(
341 'map_group' =>
'exif',
343 'validate' =>
'validateClosed',
344 'choices' =>
array(
'K' =>
true,
'M' =>
true,
347 'GPSDestLatitude' =>
array(
348 'map_group' =>
'exif',
350 'validate' =>
'validateGPS',
352 'GPSDestLongitude' =>
array(
353 'map_group' =>
'exif',
355 'validate' =>
'validateGPS',
357 'GPSDifferential' =>
array(
358 'map_group' =>
'exif',
360 'validate' =>
'validateClosed',
361 'choices' =>
array(
'0' =>
true,
'1' =>
true ),
363 'GPSImgDirectionRef' =>
array(
364 'map_group' =>
'exif',
366 'validate' =>
'validateClosed',
367 'choices' =>
array(
'T' =>
true,
'M' =>
true ),
369 'GPSLatitude' =>
array(
370 'map_group' =>
'exif',
372 'validate' =>
'validateGPS',
374 'GPSLongitude' =>
array(
375 'map_group' =>
'exif',
377 'validate' =>
'validateGPS',
379 'GPSMapDatum' =>
array(
380 'map_group' =>
'exif',
383 'GPSMeasureMode' =>
array(
384 'map_group' =>
'exif',
386 'validate' =>
'validateClosed',
387 'choices' =>
array(
'2' =>
true,
'3' =>
true )
389 'GPSProcessingMethod' =>
array(
390 'map_group' =>
'exif',
393 'GPSSatellites' =>
array(
394 'map_group' =>
'exif',
397 'GPSSpeedRef' =>
array(
398 'map_group' =>
'exif',
400 'validate' =>
'validateClosed',
401 'choices' =>
array(
'K' =>
true,
'M' =>
true,
404 'GPSStatus' =>
array(
405 'map_group' =>
'exif',
407 'validate' =>
'validateClosed',
408 'choices' =>
array(
'A' =>
true,
'V' =>
true )
410 'GPSTimeStamp' =>
array(
411 'map_group' =>
'exif',
414 'map_name' =>
'GPSDateStamp',
416 'validate' =>
'validateDate',
418 'GPSTrackRef' =>
array(
419 'map_group' =>
'exif',
421 'validate' =>
'validateClosed',
422 'choices' =>
array(
'T' =>
true,
'M' =>
true )
424 'GPSVersionID' =>
array(
425 'map_group' =>
'exif',
428 'ImageUniqueID' =>
array(
429 'map_group' =>
'exif',
432 'LightSource' =>
array(
433 'map_group' =>
'exif',
435 'validate' =>
'validateClosed',
437 'choices' =>
array(
'0' =>
true,
'1' =>
true,
438 '2' =>
true,
'3' =>
true,
'4' =>
true,
439 '9' =>
true,
'10' =>
true,
'11' =>
true,
440 '12' =>
true,
'13' =>
true,
441 '14' =>
true,
'15' =>
true,
442 '17' =>
true,
'18' =>
true,
443 '19' =>
true,
'20' =>
true,
444 '21' =>
true,
'22' =>
true,
445 '23' =>
true,
'24' =>
true,
449 'MeteringMode' =>
array(
450 'map_group' =>
'exif',
452 'validate' =>
'validateClosed',
455 'choices' =>
array(
'255' =>
true ),
460 'PixelXDimension' =>
array(
461 'map_group' =>
'exif',
463 'validate' =>
'validateInteger',
465 'PixelYDimension' =>
array(
466 'map_group' =>
'exif',
468 'validate' =>
'validateInteger',
470 'Saturation' =>
array(
471 'map_group' =>
'exif',
473 'validate' =>
'validateClosed',
477 'SceneCaptureType' =>
array(
478 'map_group' =>
'exif',
480 'validate' =>
'validateClosed',
484 'SceneType' =>
array(
485 'map_group' =>
'exif',
487 'validate' =>
'validateClosed',
488 'choices' =>
array(
'1' =>
true ),
491 'SensingMethod' =>
array(
492 'map_group' =>
'exif',
494 'validate' =>
'validateClosed',
497 'choices' =>
array(
'7' =>
true, 8 =>
true ),
499 'Sharpness' =>
array(
500 'map_group' =>
'exif',
502 'validate' =>
'validateClosed',
506 'SpectralSensitivity' =>
array(
507 'map_group' =>
'exif',
511 'SubjectArea' =>
array(
512 'map_group' =>
'exif',
514 'validate' =>
'validateInteger',
516 'SubjectDistanceRange' =>
array(
517 'map_group' =>
'exif',
519 'validate' =>
'validateClosed',
523 'SubjectLocation' =>
array(
524 'map_group' =>
'exif',
526 'validate' =>
'validateInteger',
528 'UserComment' =>
array(
529 'map_group' =>
'exif',
532 'WhiteBalance' =>
array(
533 'map_group' =>
'exif',
535 'validate' =>
'validateClosed',
536 'choices' =>
array(
'0' =>
true,
'1' =>
true )
539 'http://ns.adobe.com/tiff/1.0/' =>
array(
541 'map_group' =>
'exif',
544 'BitsPerSample' =>
array(
545 'map_group' =>
'exif',
547 'validate' =>
'validateInteger',
549 'Compression' =>
array(
550 'map_group' =>
'exif',
552 'validate' =>
'validateClosed',
553 'choices' =>
array(
'1' =>
true,
'6' =>
true ),
556 'Copyright' =>
array(
557 'map_group' =>
'exif',
561 'map_group' =>
'exif',
563 'validate' =>
'validateDate',
565 'ImageDescription' =>
array(
566 'map_group' =>
'exif',
569 'ImageLength' =>
array(
570 'map_group' =>
'exif',
572 'validate' =>
'validateInteger',
574 'ImageWidth' =>
array(
575 'map_group' =>
'exif',
577 'validate' =>
'validateInteger',
580 'map_group' =>
'exif',
584 'map_group' =>
'exif',
597 'PhotometricInterpretation' =>
array(
598 'map_group' =>
'exif',
600 'validate' =>
'validateClosed',
601 'choices' =>
array(
'2' =>
true,
'6' =>
true ),
603 'PlanerConfiguration' =>
array(
604 'map_group' =>
'exif',
606 'validate' =>
'validateClosed',
607 'choices' =>
array(
'1' =>
true,
'2' =>
true ),
609 'PrimaryChromaticities' =>
array(
610 'map_group' =>
'exif',
612 'validate' =>
'validateRational',
614 'ReferenceBlackWhite' =>
array(
615 'map_group' =>
'exif',
617 'validate' =>
'validateRational',
619 'ResolutionUnit' =>
array(
620 'map_group' =>
'exif',
622 'validate' =>
'validateClosed',
623 'choices' =>
array(
'2' =>
true,
'3' =>
true ),
625 'SamplesPerPixel' =>
array(
626 'map_group' =>
'exif',
628 'validate' =>
'validateInteger',
631 'map_group' =>
'exif',
635 'WhitePoint' =>
array(
636 'map_group' =>
'exif',
638 'validate' =>
'validateRational',
640 'XResolution' =>
array(
641 'map_group' =>
'exif',
643 'validate' =>
'validateRational',
645 'YResolution' =>
array(
646 'map_group' =>
'exif',
648 'validate' =>
'validateRational',
650 'YCbCrCoefficients' =>
array(
651 'map_group' =>
'exif',
653 'validate' =>
'validateRational',
655 'YCbCrPositioning' =>
array(
656 'map_group' =>
'exif',
658 'validate' =>
'validateClosed',
659 'choices' =>
array(
'1' =>
true,
'2' =>
true ),
679 'http://ns.adobe.com/exif/1.0/aux/' =>
array(
681 'map_group' =>
'exif',
684 'SerialNumber' =>
array(
685 'map_group' =>
'exif',
688 'OwnerName' =>
array(
689 'map_group' =>
'exif',
690 'map_name' =>
'CameraOwnerName',
694 'http://purl.org/dc/elements/1.1/' =>
array(
696 'map_group' =>
'general',
697 'map_name' =>
'ObjectName',
700 'description' =>
array(
701 'map_group' =>
'general',
702 'map_name' =>
'ImageDescription',
705 'contributor' =>
array(
706 'map_group' =>
'general',
707 'map_name' =>
'dc-contributor',
711 'map_group' =>
'general',
712 'map_name' =>
'dc-coverage',
716 'map_group' =>
'general',
717 'map_name' =>
'Artist',
721 'map_group' =>
'general',
725 'map_name' =>
'dc-date',
727 'validate' =>
'validateDate',
730 'identifier' =>
array(
731 'map_group' =>
'deprecated',
732 'map_name' =>
'Identifier',
736 'map_group' =>
'general',
737 'map_name' =>
'LanguageCode',
739 'validate' =>
'validateLangCode',
741 'publisher' =>
array(
742 'map_group' =>
'general',
743 'map_name' =>
'dc-publisher',
748 'map_group' =>
'general',
749 'map_name' =>
'dc-relation',
753 'map_group' =>
'general',
754 'map_name' =>
'Copyright',
762 'map_group' =>
'general',
763 'map_name' =>
'dc-source',
767 'map_group' =>
'general',
768 'map_name' =>
'Keywords',
772 'map_group' =>
'general',
773 'map_name' =>
'dc-type',
777 'http://ns.adobe.com/xap/1.0/' =>
array(
778 'CreateDate' =>
array(
779 'map_group' =>
'general',
780 'map_name' =>
'DateTimeDigitized',
782 'validate' =>
'validateDate',
784 'CreatorTool' =>
array(
785 'map_group' =>
'general',
786 'map_name' =>
'Software',
789 'Identifier' =>
array(
790 'map_group' =>
'general',
794 'map_group' =>
'general',
797 'ModifyDate' =>
array(
798 'map_group' =>
'general',
800 'map_name' =>
'DateTime',
801 'validate' =>
'validateDate',
803 'MetadataDate' =>
array(
804 'map_group' =>
'general',
807 'map_name' =>
'DateTimeMetadata',
808 'validate' =>
'validateDate',
811 'map_group' =>
'general',
815 'map_group' =>
'general',
817 'validate' =>
'validateRating',
820 'http://ns.adobe.com/xap/1.0/rights/' =>
array(
821 'Certificate' =>
array(
822 'map_group' =>
'general',
823 'map_name' =>
'RightsCertificate',
827 'map_group' =>
'general',
828 'map_name' =>
'Copyrighted',
830 'validate' =>
'validateBoolean',
833 'map_group' =>
'general',
834 'map_name' =>
'CopyrightOwner',
838 'UsageTerms' =>
array(
839 'map_group' =>
'general',
842 'WebStatement' =>
array(
843 'map_group' =>
'general',
848 'http://ns.adobe.com/xap/1.0/mm/' =>
array(
851 'OriginalDocumentID' =>
array(
852 'map_group' =>
'general',
862 'http://creativecommons.org/ns#' =>
array(
864 'map_name' =>
'LicenseUrl',
865 'map_group' =>
'general',
868 'morePermissions' =>
array(
869 'map_name' =>
'MorePermissionsUrl',
870 'map_group' =>
'general',
873 'attributionURL' =>
array(
874 'map_group' =>
'general',
875 'map_name' =>
'AttributionUrl',
878 'attributionName' =>
array(
879 'map_group' =>
'general',
880 'map_name' =>
'PreferredAttributionName',
885 'http://ns.adobe.com/xmp/note/' =>
array(
886 'HasExtendedXMP' =>
array(
887 'map_group' =>
'special',
896 'http://ns.adobe.com/photoshop/1.0/' =>
array(
898 'map_group' =>
'deprecated',
900 'map_name' =>
'CityDest',
903 'map_group' =>
'deprecated',
905 'map_name' =>
'CountryDest',
908 'map_group' =>
'deprecated',
910 'map_name' =>
'ProvinceOrStateDest',
912 'DateCreated' =>
array(
913 'map_group' =>
'deprecated',
916 'map_name' =>
'DateTimeOriginal',
917 'validate' =>
'validateDate',
920 'CaptionWriter' =>
array(
921 'map_group' =>
'general',
923 'map_name' =>
'Writer',
925 'Instructions' =>
array(
926 'map_group' =>
'general',
928 'map_name' =>
'SpecialInstructions',
930 'TransmissionReference' =>
array(
931 'map_group' =>
'general',
933 'map_name' =>
'OriginalTransmissionRef',
935 'AuthorsPosition' =>
array(
940 'map_group' =>
'special',
944 'map_group' =>
'general',
948 'map_group' =>
'general',
952 'map_group' =>
'general',
958 'map_group' =>
'general',
960 'map_name' =>
'iimCategory',
962 'SupplementalCategories' =>
array(
963 'map_group' =>
'general',
965 'map_name' =>
'iimSupplementalCategory',
968 'map_group' =>
'general',
972 'http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/' =>
array(
973 'CountryCode' =>
array(
974 'map_group' =>
'deprecated',
976 'map_name' =>
'CountryCodeDest',
978 'IntellectualGenre' =>
array(
979 'map_group' =>
'general',
987 'map_group' =>
'general',
989 'validate' =>
'validateInteger',
990 'map_name' =>
'SceneCode',
997 'SubjectCode' =>
array(
998 'map_group' =>
'general',
1000 'map_name' =>
'SubjectNewsCode',
1001 'validate' =>
'validateInteger'
1003 'Location' =>
array(
1004 'map_group' =>
'deprecated',
1006 'map_name' =>
'SublocationDest',
1008 'CreatorContactInfo' =>
array(
1015 'map_group' =>
'general',
1017 'map_name' =>
'Contact',
1018 'children' =>
array(
1019 'CiAdrExtadr' =>
true,
1020 'CiAdrCity' =>
true,
1021 'CiAdrCtry' =>
true,
1022 'CiEmailWork' =>
true,
1023 'CiTelWork' =>
true,
1024 'CiAdrPcode' =>
true,
1025 'CiAdrRegion' =>
true,
1026 'CiUrlWork' =>
true,
1029 'CiAdrExtadr' =>
array(
1030 'map_group' =>
'general',
1032 'structPart' =>
true,
1034 'CiAdrCity' =>
array(
1035 'map_group' =>
'general',
1037 'structPart' =>
true,
1039 'CiAdrCtry' =>
array(
1040 'map_group' =>
'general',
1042 'structPart' =>
true,
1044 'CiEmailWork' =>
array(
1045 'map_group' =>
'general',
1047 'structPart' =>
true,
1049 'CiTelWork' =>
array(
1050 'map_group' =>
'general',
1052 'structPart' =>
true,
1054 'CiAdrPcode' =>
array(
1055 'map_group' =>
'general',
1057 'structPart' =>
true,
1059 'CiAdrRegion' =>
array(
1060 'map_group' =>
'general',
1062 'structPart' =>
true,
1064 'CiUrlWork' =>
array(
1065 'map_group' =>
'general',
1067 'structPart' =>
true,
1071 'http://iptc.org/std/Iptc4xmpExt/2008-02-29/' =>
array(
1073 'map_group' =>
'general',
1076 'OrganisationInImageName' =>
array(
1077 'map_group' =>
'general',
1079 'map_name' =>
'OrganisationInImage'
1081 'PersonInImage' =>
array(
1082 'map_group' =>
'general',
1085 'MaxAvailHeight' =>
array(
1086 'map_group' =>
'general',
1088 'validate' =>
'validateInteger',
1089 'map_name' =>
'OriginalImageHeight',
1091 'MaxAvailWidth' =>
array(
1092 'map_group' =>
'general',
1094 'validate' =>
'validateInteger',
1095 'map_name' =>
'OriginalImageWidth',
1100 'LocationShown' =>
array(
1101 'map_group' =>
'special',
1103 'children' =>
array(
1104 'WorldRegion' =>
true,
1105 'CountryCode' =>
true,
1106 'CountryName' =>
true,
1107 'ProvinceState' =>
true,
1109 'Sublocation' =>
true,
1112 'LocationCreated' =>
array(
1113 'map_group' =>
'special',
1115 'children' =>
array(
1116 'WorldRegion' =>
true,
1117 'CountryCode' =>
true,
1118 'CountryName' =>
true,
1119 'ProvinceState' =>
true,
1121 'Sublocation' =>
true,
1124 'WorldRegion' =>
array(
1125 'map_group' =>
'special',
1127 'structPart' =>
true,
1129 'CountryCode' =>
array(
1130 'map_group' =>
'special',
1132 'structPart' =>
true,
1134 'CountryName' =>
array(
1135 'map_group' =>
'special',
1137 'structPart' =>
true,
1138 'map_name' =>
'Country',
1140 'ProvinceState' =>
array(
1141 'map_group' =>
'special',
1143 'structPart' =>
true,
1144 'map_name' =>
'ProvinceOrState',
1147 'map_group' =>
'special',
1149 'structPart' =>
true,
1151 'Sublocation' =>
array(
1152 'map_group' =>
'special',
1154 'structPart' =>
true,
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
wfRunHooks( $event, array $args=array(), $deprecatedVersion=null)
Call hook functions defined in $wgHooks.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
This class is just a container for a big array used by XMPReader to determine which XMP items to extr...
static getItems()
Get the items array.
static $items
XMPInfo::$items keeps a list of all the items we are interested to extract, as well as information ab...