Go to file
Timo Tijhof f8eb557a64 Account for absence of template description in #getHtml
The description property is optional and is explicitly set to
null by the parser in normalisation if there is none.

The HTML rendering of parameter descriptions (as oppposed to the
description of the template as a whole) already covered for this.
Used the same logic for the template parameter.

Also fixed:
* Localize the text "no description"
* Use !== null instead of isset() since the property is always
  set, we just need to know whether it is null or an object.

Bug: 54422
Change-Id: I86a40dbd1225feb54123e77a856b4ad6d525461b
2013-09-25 20:23:46 +00:00
api Store compressed JSON since size is limited 2013-09-04 22:52:02 +00:00
resources TemplateDataBlob: Implement 'type' and 'label' 2013-05-09 02:49:56 +00:00
tests Remove all references to TemplateInfo 2013-09-12 11:41:07 +02:00
.gitignore Add .gitreview and .gitignore 2013-02-14 15:36:56 +00:00
.gitreview Add .gitreview and .gitignore 2013-02-14 15:36:56 +00:00
spec.templatedata.json Add specialized short-form string/line type 2013-07-11 17:04:42 -07:00
TemplateData.hooks.php Remove all references to TemplateInfo 2013-09-12 11:41:07 +02:00
TemplateData.i18n.php Account for absence of template description in #getHtml 2013-09-25 20:23:46 +00:00
TemplateData.php Re-add version_compare (>= 1.22wmf18) 2013-09-20 00:57:00 +02:00
TemplateDataBlob.php Account for absence of template description in #getHtml 2013-09-25 20:23:46 +00:00