Page MenuHomePhabricator

Image inserted in section title produces wrong arrow links in history, recent changes, contributions, watch
Closed, ResolvedPublic

Description

Author: folengo

Description:
This problem occurs when a section title uses the following pattern :

[[Image:Image_name.jpg]] Section_name

This will produce in the Table Of Contents the following anchored link, skipping the image name :

h t t p : / / ... Page_title#Section_name

However the arrow link in the history page will be coded as follows :

h t t p : / /...#Image:Image_name.jpg_Section_name

which, obviously, cannot take your browser to the mentioned section.

As an example of page using such "illustrated section names", see [[:fr:Wikipédia:Bot/Requêtes/2007/08]] ( http://tinyurl.com/2pklvj ), where tiny icons are inserted at the beginning of each section title through a template.


Version: unspecified
Severity: enhancement

Details

Reference
bz11006

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:51 PM
bzimport set Reference to bz11006.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

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