Last modified: 2014-05-20 19:40:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53429, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51429 - TemplateData: Display a useful message instead of an empty table for templates that take no parameters
TemplateData: Display a useful message instead of an empty table for template...
Status: ASSIGNED
Product: MediaWiki extensions
Classification: Unclassified
TemplateData (Other open bugs)
unspecified
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Editing team bugs – take if you're interested!
:
: 62417 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-16 07:36 UTC by NicoV
Modified: 2014-05-20 19:40 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description NicoV 2013-07-16 07:36:49 UTC
Currently, if you use TemplateData for a template without any parameters, you still have to create an empty "params" in the JSON (not really important), but you also end up with a "Template parameters" table with just the title line (Parameter	Description	Type	Default	Status).

Rather than displaying an empty table, I think it would be better to display no table at all, or a simple message saying that no parameters are defined for this template.
Comment 1 James Forrester 2014-04-28 18:52:50 UTC
*** Bug 62417 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links