Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1690 closed Bug (fixed)

Linking to same page sub-header fails

Reported by: Justin McCormick Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version:
Keywords: HasPatch Cc:

Description

Change 1008 caused further issues with the formating of anchor links. Anchor links that do not define the page before the anchor causes the anchor to be removed each time the FCKparser parses the document.

For example: [[#Sub_Heading|Link To Subheading]] when parsed again by the FCKparser will generate the output [[|Link To Subheading]]. However, when removing the fix in 1008 the correct output is generated however the original issue 1386 re-appears.

Attachments (1)

FCKeditorSkin.body.patch.php (808 bytes) - added by Justin McCormick 11 years ago.
Proposed fix to the problem

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by Justin McCormick

Proposed fix to the problem

comment:1 Changed 11 years ago by Justin McCormick

I have attached a proposed fix to the problem. The fix retains the bug fix for 1386 but fixes the issue for this ticket.

comment:2 Changed 11 years ago by Frederico Caldeira Knabben

Keywords: HasPatch added; anchor internal link removed

comment:3 Changed 11 years ago by Wiktor Walc

Resolution: fixed
Status: newclosed

Fixed with [1831].

Works like a charm, thanks!

comment:4 Changed 11 years ago by Wiktor Walc

#1771 marked as dup.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy