From 16b44c414662f4e4740beb24f74e4c5b5cd2c489 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 2 Apr 2015 10:15:43 -0700 Subject: [PATCH] registration: Support 'namemsg' Change-Id: I0f446b31c1d36a492997ef31fae6d2d2bea36517 --- docs/extension.schema.json | 4 ++++ includes/registration/ExtensionProcessor.php | 1 + 2 files changed, 5 insertions(+) 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', -- 2.20.1