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

       Web browser: ---
            Bug ID: 55331
           Summary: TemplateData: Boolean template parameters
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: TemplateData
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Some template parameters are essentially boolean.  These include 'deadurl' and
'nopp', both used by [[Template:cite web]] (and others in the family).

With 'deadurl', "no" is the only real "false" value; everything else is
true/default behavior. For 'nopp', if it is set to anything, it suppresses "p."
and "pp." before page numbers.

In these examples, often the parameter is just omitted for the default behavior
(i.e. instead of deadurl=yes it can just be left out).

I think that is common with such parameters, but there may be examples where it
doesn't hold up (e.g. omitted is an undesirable case, and it's better that the
parameter explicitly be set true or false).

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