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

           Summary: Special default parameter value issue when embedding
           Product: MediaWiki
           Version: 1.15.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Templates
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: jea...@makemetheking.com


When I use {{{parametername|default value}}} in a template, but with a question
mark "?" as the default value then it only works in that template - and not
when embedding it inside another template.

I assume ""(blank) is returned because it is stripped due to being a special
character.
Nonetheless do I wish to use a question mark as a value, as "N/A" could be an
actual value and "No information" is too long.

Using a template to insert only a question mark showed same behavior as with a
parameter - eg not working when embedded.
[code]
Template:Qm
<includeonly>?</includeonly>
[/code]

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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