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

       Web browser: ---
            Bug ID: 59855
           Summary: some examples in [[Template:Hilite/doc]] are broken
           Product: MediaWiki
           Version: 1.23-git
          Hardware: Macintosh
                OS: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: minor
          Priority: Unprioritized
         Component: Templates
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: thn...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

The hilite template doc page on Wikipedia,
https://en.wikipedia.org/wiki/Template:Hilite/doc ,
has examples of five ways to parameterize the template (including null). The
third and fourth, which should have pink and yellow highlighting respectively,
have none. I am using a 13-inch, Mid 2011 MacBook Air with Mac OS X Lion 10.7.5
(11G63b). I discovered the bug in Firefox 26.0 and have replicated it in Chrome
31.0.1650.63 and Safari 6.1.1 (7537.73.11).

===Examples===
{| class="wikitable"
|-
! code !! output !! notes
|-
|-
| <nowiki>{{hilite | text }}</nowiki> || {{hilite | text }} ||
|-
| <nowiki>{{hilite | text | lightblue }}</nowiki> || {{hilite | text |
lightblue }} ||
|-
| <nowiki>{{hilite | text | pink | 2011-01-01 }}</nowiki> || {{hilite | text |
pink | 2011-01-01 }} ||
|-
| <nowiki>{{hilite | text || January 1, 2012 }}</nowiki> || {{hilite | text ||
January 1, 2012 }} || Note the color parameter, left blank, is still
represented<br> with a pipe (followed by the expiration parameter pipe)
|-
| <nowiki>{{hilite | text | #00FF00 | 1 January 2015 }}</nowiki> || {{hilite |
text | #00FF00 | 1 January 2015 }} ||
|}

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