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

       Web browser: ---
             Bug #: 34575
           Summary: #set does not handle strings with underscores
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Hi.

I have the following in a template:

{{#set:Open Link=[[{{PAGENAME}}|{{{from}}} - {{{subject}}} - 
{{#sub:{{{date}}}|5|20}}]]}}

If the page name has an underscore in it e.g. [email protected], 
then the #set completely fails. The Open Link string type property is 
not set at all. Not even the {{{from}}} - {{{subject}}} - 
{{#sub:{{{date}}}|5|20}}]]} part gets set.

In fact, if there is an underscore anywhere in the #set then it totally fails.

Is there a way round this? Surely a #set on a string property should 
allow all valid string characters.

Thanks
Neill.

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