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

       Web browser: ---
            Bug ID: 49743
           Summary: TemplateData doesn't distinguish between explicit and
                    implicit positional parameters
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: TemplateData
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Templates behave differently depending on whether positional parameters are
explicitly declared or not. For example, for [[Template:User]] on the English
Wikipedia, {{user|1=foo=bar}} will return user links for the user "foo=bar",
but {{user|foo=bar}} will generate an error, as there is no "foo" parameter.
However, there does not seem to be any way of distinguishing explicit
positional parameters from implicit positional parameters using TemplateData. I
am guessing that this ability will be needed for the Visual Editor to properly
handle existing templates - see also bug 49739.

-- 
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