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

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WONTFIX
            Summary|TemplateData doesn't        |TemplateData doesn't let
                   |distinguish between         |you have conditional
                   |explicit and implicit       |meanings of parameters
                   |positional parameters       |based on other parameters

--- Comment #4 from James Forrester <[email protected]> ---
You are right, this is a mess - because this is a template that is broken by
design.

The TemplateData you have written in comment 3 is wrong - most notably:

  "2": {
    "label": "Latitude minutes",
    "description": "The minutes part of the latitude. Do not be overly precise,
1' is approximately 1.5km, Not used if decimal degrees are specified.",
    "type": "number",
    "required": false
  },


This is not true. "2" is "either Latitude minutes or Longitude decimal
depending on other parameters". Both meanings of the second positional
parameter can be used implicitly - hence my confusion. Have re-named to
"TemplateData doesn't let you have conditional meanings of parameters based on
other parameters" which I think captures the issue best?

In general, this is simply an example of a ridiculously-confusing template for
users. I'd very strongly recommend just fixing the template (by splitting the
two users into different templates; use a single parent template to implement
the proper RDFa hinting equivalently).

Otherwise, I can't see what resolution you'd expect us to come up with -
descriptions that change depending on the phase of the moon? TemplateData does
not, and will not, contain conditionality in its definitions.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to