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

             Bug #: 28582
           Summary: Nested templates will apply the formatting of the
                    outer template to the inner
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Low
         Component: Templates
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


The {{fact}} template on Simple English wikipedia will add a category "Articles
with unsourced statements since {{date}}". date is commonly set to values like
"February 2009". The problem with that is that if the facr template is used
inside another (eg. infobox) that uses number formatting, the year of the
"date" will also be formatted, before it is passed to the template fact. We end
up with a caegory: "Articles with unsourced statements since February 2,009",
instead of the expected "Articles with unsourced statements since February
2009". What is probably needed is a way to tell the system that arguments to
inner templates should not be parsed (and treated like "Text").

http://simple.wikipedia.org/w/index.php?title=Skopje&oldid=2642872 gives an
example of this. Fact is used inside an {{Infobox Settlement}} which formats
numbers like population in the settlement and metro area.

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

Reply via email to