https://bugzilla.wikimedia.org/show_bug.cgi?id=51429

       Web browser: ---
            Bug ID: 51429
           Summary: Templates without parameters
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: TemplateData
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: nverve...@gmail.com
                CC: jforres...@wikimedia.org, krinklem...@gmail.com,
                    tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to