Last modified: 2005-10-23 21:18:53 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 T5772, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3772 - The string "@_" is displayed without the "_"
The string "@_" is displayed without the "_"
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
PC Windows XP
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-21 21:25 UTC by Roland
Modified: 2005-10-23 21:18 UTC (History)
0 users

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


Attachments

Description Roland 2005-10-21 21:25:34 UTC
The string "@_" (Perl code) is displayed without the "_":
http://en.wikipedia.org/wiki/Quicksort_implementations#Perl
(Does not work with neither Firefox nor MSIE)

The page source is:

--------------snip---------------------
<code><pre><nowiki>
sub qsort {
  return () if !@_;
  return (qsort(grep { $_ < $_[0] } (@_)[1..$#_]), $_[0],
          qsort(grep { $_ >= $_[0] } (@_)[1..$#_]));
}
</nowiki></pre></code>
------------snip-----------------
Comment 1 Brion Vibber 2005-10-21 21:39:19 UTC
It's there in output. Whether the underscore is visible seems dependent on browser, 
font, and font size.
Comment 2 Antoine "hashar" Musso (WMF) 2005-10-23 19:08:54 UTC
Works for me with HEAD and REL1_5
Comment 3 Hendrik Brummermann 2005-10-23 21:18:53 UTC
I removed the code-tags around the pre-tags and now the _ is visible:
http://en.wikipedia.org/w/index.php?title=Quicksort_implementations&diff=26302760&oldid=26107588

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


Navigation
Links