Last modified: 2005-10-23 21:18:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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