mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
f8eb557a64
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 |
||
---|---|---|
api | ||
resources | ||
tests | ||
.gitignore | ||
.gitreview | ||
spec.templatedata.json | ||
TemplateData.hooks.php | ||
TemplateData.i18n.php | ||
TemplateData.php | ||
TemplateDataBlob.php |