From: Kunal Mehta Date: Thu, 2 Apr 2015 17:15:43 +0000 (-0700) Subject: registration: Support 'namemsg' X-Git-Tag: 1.31.0-rc.0~11807^2 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=16b44c414662f4e4740beb24f74e4c5b5cd2c489;p=lhc%2Fweb%2Fwiklou.git registration: Support 'namemsg' Change-Id: I0f446b31c1d36a492997ef31fae6d2d2bea36517 --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 1d891d2d25..d1b982c519 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -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.", diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 4945958924..a5349fb4ac 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -54,6 +54,7 @@ class ExtensionProcessor implements Processor { */ protected static $creditsAttributes = array( 'name', + 'namemsg', 'author', 'version', 'url',