registration: Support $wgMediaHandlers in ExtensionProcessor
authorKunal Mehta <legoktm@gmail.com>
Sun, 3 May 2015 02:38:29 +0000 (19:38 -0700)
committerKunal Mehta <legoktm@gmail.com>
Sun, 3 May 2015 04:06:34 +0000 (21:06 -0700)
Bug: T97908
Change-Id: I3bea9273f956d93aebc5176b83d375c574715382

docs/extension.schema.json
includes/registration/ExtensionProcessor.php

index d1b982c..b52369f 100644 (file)
                        "type": "object",
                        "description": "Flags (letter symbols) shown on RecentChanges pages"
                },
+               "MediaHandlers": {
+                       "type": "object",
+                       "description": "Plugins for media file type handling. Each entry in the array maps a MIME type to a PHP class name."
+               },
                "ExtensionFunctions": {
                        "type": [
                                "array",
index a5349fb..561e798 100644 (file)
@@ -26,6 +26,7 @@ class ExtensionProcessor implements Processor {
                'RateLimits',
                'ParserTestFiles',
                'RecentChangesFlags',
+               'MediaHandlers',
                'ExtensionFunctions',
                'ExtensionEntryPointListFiles',
                'SpecialPages',