Opened 17 years ago

Closed 17 years ago

#1007 closed Bug (fixed)

Article categories get truncated when editing with FCK

Reported by: barns Owned by:
Priority: Must have (possibly next milestone) Milestone:
Component: Project : MediaWiki+FCKeditor Version:
Keywords: Cc:


# When editing a page with categories, FCK just removes the categories

# Hint: apparently, this is due to the way FCK is loading the page. When parsing the wikiToHtml output, it considers the categories section as something that should not be parsed (ouside <!--FCK_SKIP_END-->), so there would probably need to be a special parsing added for the category section of the page. Categories insertion works though, as they are simply links.

# Besides, when searching a link for a namespace that is not the main one, like User:Evans or Category:XYZ the ajax search box returns nothing

Change History (3)

comment:1 Changed 17 years ago by barns

Hum, actually when adding an additional parser like suggested in the request, 2 cases should be considered:

1) the category link is in the category div (ie we want to add the page to a category, wikitext: [[Category:XYZ]]) , then FCK should create a link at the bottom of the page in the editor

2) the category link is not in the category div (ie we want to put a link to a category page in the article, wikitext: [[:Category:XYZ]]), then the URL should be :Category:XYZ, and not Category:XYZ as FCK translates it from html, otherwise at next editing of the page, it will transform the link into a category for the page

comment:2 Changed 17 years ago by barns

Apparently, you fixed this according to above cases. Thanks!

comment:3 Changed 17 years ago by Wiktor Walc

Resolution: fixed
Status: newclosed

Yes, this problem shouldn't exists anymore.

Thanks again!

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy