Last modified: 2006-06-30 14:42:29 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 T5727, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3727 - We need a nonbreaking hyphen, such as exists in MS Word.
We need a nonbreaking hyphen, such as exists in MS Word.
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
Macintosh Mac OS X 10.3
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Genetics
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-17 19:09 UTC by David Shear
Modified: 2006-06-30 14:42 UTC (History)
1 user (show)

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


Attachments

Description David Shear 2005-10-17 19:09:15 UTC
For various technical terms, such as m-RNA, t-RNA, n-butane, µ-meter, (alpha)-helix, etc., it is visually disruptive to have a break 
after the hyphen if it happens to fall at the end of a line of text. I was revising the article on Genetics today, and "m-RNA" (and 
others) broke, as I expected, at the end of a line. Microsoft Word has some internal code such that typing Command+Shift+hyphen 
produces a nonbreaking hyphen — useful to keep (especially) a single-character prefix attached to the main string. I wasn't able to 
find a wiki bug report relative to this. (Bugzilla queries came up with references to m-dash and n-dash parsing.) I haven't done a 
search to find out if this is a Unicode character, but it would be helpful if wiki had a procedure (or patch) to allow one to enter a 
nonbreaking hyphen.

I don't think this is Macintosh-specific. I use Safari (1.3.1), still under Mac OS X (10.3.9), but the "problem" also appeared with 
Internet Explorer:Mac (5.2).

David Shear
dshear@austin.rr.com
Comment 1 Brion Vibber 2006-06-04 00:08:34 UTC
There's a template for this in use on Wikipedia:

http://en.wikipedia.org/wiki/Template:Nobr

Usage like {{nobr|m-RNA}}
Comment 2 omniplex 2006-06-30 14:42:29 UTC
http://purl.net/net/ucode/2011 might also help. 

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


Navigation
Links