https://bugzilla.wikimedia.org/show_bug.cgi?id=25277

           Summary: invisible directional character on File page pollutes
                    pasted filenames
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: worden....@gmail.com


The File page outputs an invisible Unicode directional character ("Left to
Right Mark" or its counterpart) just after the link to the raw file, with no
space intervening.

That's, for instance, here on line 479 of ImagePage.php (r73636):
 <span class="dangerousLink">{$medialink}</span>$dirmark

This means that when a user copies the filename from that link in order to
paste it into a wiki page, the invisible character is pasted as well.  This can
cause problems in the wiki page and is hard to troubleshoot because the
offending character is invisible.

I don't know anything about bidirectional text, so I don't have a patch, but
can't that mark be separated from the link text, or even converted into an html
attribute or something?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to