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

           Summary: lcfirst and ucfirst parser functions do not work on
                    wikilinks
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: codeca...@gmail.com


The parser functions {{lcfirst: and {{ucfirst: do not work when the text they
operate on begins with a wikilink. This is the expected behaviour on a textual
level, as a wikilink begins with a [ character which is not a letter. However,
it is not the behaviour that would be expected on a wiki, since the more useful
behaviour in the majority of cases would be that it makes the first character
of the link text (not the link target) uppercase or lowercase. E.g.
{{ucfirst:[[hello|foo]]}} should be replaced with [[hello|Foo]].

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