Last modified: 2006-06-30 14:42:29 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 3727 - We need a nonbreaking hyphen, such as exists in MS Word.
We need a nonbreaking hyphen, such as exists in MS Word.
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
Macintosh Mac OS X 10.3
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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
Comment 1 Brion Vibber 2006-06-04 00:08:34 UTC
There's a template for this in use on Wikipedia:

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

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