Page MenuHomePhabricator

some examples in [[Template:Hilite/doc]] are broken
Closed, InvalidPublic

Description

Author: thnidu

Description:
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>{{hilitetext }}</nowiki>{{hilitetext }}
-
<nowiki>{{hilitetextlightblue }}</nowiki>{{hilitetextlightblue }}
-
<nowiki>{{hilitetextpink2011-01-01 }}</nowiki>{{hilitetextpink2011-01-01 }}
-
<nowiki>{{hilitetextJanuary 1, 2012 }}</nowiki>{{hilitetextJanuary 1, 2012 }}Note the color parameter, left blank, is still represented<br> with a pipe (followed by the expiration parameter pipe)
-
<nowiki>{{hilitetext#00FF001 January 2015 }}</nowiki>{{hilitetext#00FF001 January 2015 }}
}

Version: 1.23.0
Severity: minor
OS: Mac OS X 10.7
Platform: Macintosh

Details

Reference
bz59855

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:32 AM
bzimport set Reference to bz59855.
bzimport added a subscriber: Unknown Object (MLST).

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.