diff --git a/TemplateDataBlob.php b/TemplateDataBlob.php index 58c4f41c..4a4a53ed 100644 --- a/TemplateDataBlob.php +++ b/TemplateDataBlob.php @@ -69,6 +69,7 @@ class TemplateDataBlob { 'number', 'string/wiki-page-name', 'string/wiki-user-name', + 'string/line', ); if ( $data === null ) { diff --git a/spec.templatedata.json b/spec.templatedata.json index ccec8a39..26e8cf32 100644 --- a/spec.templatedata.json +++ b/spec.templatedata.json @@ -48,6 +48,8 @@ - string/wiki-user-name A valid MediaWiki user name for the current wiki. Doesn't have to exist, but if not should be a valid user name to create. + - string/line + Short text field - use for names, labels, and other short-form fields. @structure {string|Object} InterfaceText A free-form string (no wikitext) in the content-language of the wiki, or,