mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-12-24 05:33:40 +00:00
f45b0625ad
We need to disable this so that we can update the message box in core to use codex components. Once I16d8f53b9a83a468acdb3803044f6c4e9d5dfeeb has been merged the test will be restored using the new message box markup. Bug: T326587 Change-Id: I3959c8f8d4c7bbe019f5e3b356649b5b7dc88907
27 lines
811 B
Plaintext
27 lines
811 B
Plaintext
!! options
|
|
version=2
|
|
!! end
|
|
|
|
!! hooks
|
|
templatedata
|
|
!! endhooks
|
|
|
|
!! test
|
|
Empty
|
|
!! options
|
|
disabled
|
|
!! wikitext
|
|
<templatedata />
|
|
!! html
|
|
<div class="mw-message-box-error mw-message-box"><p>Syntax error in JSON.
|
|
</p></div>
|
|
!! end
|
|
|
|
!! test
|
|
Minimal JSON
|
|
!! wikitext
|
|
<templatedata>{"params":{}}</templatedata>
|
|
!! html
|
|
<section class="mw-templatedata-doc-wrap"><header><p class="mw-templatedata-doc-desc mw-templatedata-doc-muted">No description.</p></header><table class="wikitable mw-templatedata-doc-params"><caption><p class="mw-templatedata-caption">Template parameters</p></caption><thead><tr><th colspan="2">Parameter</th><th>Description</th><th>Type</th><th>Status</th></tr></thead><tbody><tr><td class="mw-templatedata-doc-muted" colspan="7">No parameters specified</td></tr></tbody></table></section>
|
|
!! end
|