Ticket #1690 (closed Bug: fixed)

Opened 12 months ago

Last modified 8 months ago

Linking to same page sub-header fails

Reported by: justinm 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

FCKeditorSkin.body.patch.php (0.8 KB) - added by justinm 12 months ago.
Proposed fix to the problem

Change History

Changed 12 months ago by justinm

Proposed fix to the problem

Changed 12 months ago by justinm

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

Changed 12 months ago by fredck

  • keywords HasPatch added; anchor, internal, link removed

Changed 8 months ago by wwalc

  • status changed from new to closed
  • resolution set to fixed

Fixed with [1831].

Works like a charm, thanks!

Changed 8 months ago by wwalc

#1771 marked as dup.

Note: See TracTickets for help on using tickets.