registration: Support 'namemsg'
authorKunal Mehta <legoktm@gmail.com>
Thu, 2 Apr 2015 17:15:43 +0000 (10:15 -0700)
committerKunal Mehta <legoktm@gmail.com>
Tue, 7 Apr 2015 15:43:39 +0000 (08:43 -0700)
Change-Id: I0f446b31c1d36a492997ef31fae6d2d2bea36517

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

index 1d891d2..d1b982c 100644 (file)
@@ -8,6 +8,10 @@
                        "description": "The extension's canonical name.",
                        "required": true
                },
+               "namemsg": {
+                       "type": "string",
+                       "description": "i18n message key of the extension's name."
+               },
                "type": {
                        "type": "string",
                        "description": "The extension's type, as an index to $wgExtensionCredits.",
index 4945958..a5349fb 100644 (file)
@@ -54,6 +54,7 @@ class ExtensionProcessor implements Processor {
         */
        protected static $creditsAttributes = array(
                'name',
+               'namemsg',
                'author',
                'version',
                'url',