Page MenuHomePhabricator

ndash replacement defeated by wikilinked numbers
Closed, ResolvedPublic

Description

Author: zigger

Description:
ndash replacement of an ASCII dash between two numbers fails to occur if there
are no spaces and the numbers are wikilinks.

2004 - 2005 gets ndash
2004-2005 gets ndash
[[2004]] - [[2005]] gets ndash
[[2004]]-[[2005]] retains ASCII dash

See also bug 2109.


Version: 1.5.x
Severity: normal

Details

Reference
bz2122

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:30 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz2122.
bzimport added a subscriber: Unknown Object (MLST).

I've removed the automatic dash conversion for now; perhaps in some future parser that actually
works in a clean fashion this can be done without breaking other markup left and right.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:25 AM
epriestley added a commit: Unknown Object (Diffusion Commit).
epriestley added a commit: Unknown Object (Diffusion Commit).
epriestley added a commit: Unknown Object (Diffusion Commit).
epriestley added a commit: Unknown Object (Diffusion Commit).
epriestley added a commit: Unknown Object (Diffusion Commit).