Last modified: 2014-01-09 22:07:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61855, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59855 - some examples in [[Template:Hilite/doc]] are broken
some examples in [[Template:Hilite/doc]] are broken
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.23.0
Macintosh Mac OS X 10.7
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-09 03:03 UTC by Mark Mandel
Modified: 2014-01-09 22:07 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Mandel 2014-01-09 03:03:06 UTC
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 }} ||
|}
Comment 1 Andre Klapper 2014-01-09 15:01:07 UTC
Thanks for taking the time to report this!
Has this been brought up on https://en.wikipedia.org/wiki/Template_talk:Hilite/doc ? 
Sounds like the more appropriate page to reach its developers (or [[WP:BE BOLD]] by fixing the docs if you have time and expertise), as Bugzilla's "Template" component refers generally to loading templates and not to specific ones on specific websites (so I'm closing this as INVALID but only because Bugzilla isn't a good place for this, not because the issue you report does not exist). This should be fixed on-wiki instead.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links