Strip directionality characters from wikilinks
Closed, ResolvedPublic

Description

Author: rickblock

Description:
A mystery fairly commonly reported at the en WP:VPT is caused by users copying an article or category name and pasting it into a
link but accidentally picking up a bidi directionality indicator in the copy. Since these characters are invisible, users are often
confused why the resultant link shows as a red link rather than a blue link. I'm not sure it's completely safe to do this, but
should we consider stripping bidi indicators that are inside wikilinks (perhaps only if adjacent to a pipe or the opening or closing
brackets) when an edit is submitted?


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28technical%29

bzimport added a project: MediaWiki-Parser.Via ConduitNov 21 2014, 9:28 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz8124.
bzimport created this task.Via LegacyDec 2 2006, 8:34 PM
bzimport added a comment.Via ConduitDec 3 2006, 2:25 AM

ayg wrote:

Yeah, invisible characters are evil. Any in wikilinks or similar stuff should
probably be auto-stripped, whether on save or render (render would probably be
simpler).

bzimport added a comment.Via ConduitDec 3 2006, 4:10 AM

robchur wrote:

*** This bug has been marked as a duplicate of 7414 ***

Add Comment