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

            Bug ID: 71789
           Summary: Autovalue doesn't substitute
           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],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

'When users add the template to a page, this value will be added
automatically.' ([[mw:Help:TemplateData#Auto value]]).

Cool. But when users add a template with {{CURRENTYEAR}}-{{CURRENTMONTH}}
filled in, they'll see {{CURRENTYEAR}}-{{CURRENTMONTH}} in the dialog, not e.g.
2014-10. (Btw, their exp: 'wtf is this? is this supposed to be here?'). The
diff will also be |parameter={{CURRENTYEAR}}-{{CURRENTMONTH}}. As a result,
'autovalue' doesn't work as it is expected, unless it is us who have to specify
'subst:' somewhere in TemplateData code (?).

-- 
You are receiving this mail because:
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