Opened 15 years ago

Closed 15 years ago

#3197 closed Bug (fixed)

Magic words stripped on next edit

Reported by: Neil Bertram Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version: FCKeditor 2.6.4
Keywords: Confirmed Cc:



I've seen some previous tickets relating to issues with MediaWiki magic tags, but they all seem resolved.

We're having a problem that whenever we put a NOTOC at the top of a page.

It seems to get saved and recognised when the page is rendered, but when edit is next loaded, the magic tag is gone again (switching into wikitext mode sometimes shows it as a <br> and sometimes it's just plain gone). Upon saving the edit, the NOTOC is lost and a TOC is rendered.

If I put NORICHEDITOR at the top along with NOTOC, it persists, but of course there's not FCKEditor.

If I click the "disable rich editor" link, once again it's fine putting NOTOC into the box, but curiously if I push the "enable rich editor" link, the NOTOC seems to get stripped right there.

When editing in normal rich mode, I can confirm the tag is missing from the HTML source as well (so it's not even being fed to the RTE), so something pre-page-load is stripping it.

I'm running Mediawiki trunk and MediaWiki+FCKEditor trunk hot off SVN.


Change History (2)

comment:1 Changed 15 years ago by Neil Bertram

Sorry those NOTOC and NORICHEDITOR shouldn't be underlined, they should have the double-underscores on each side. Trac is interpreting them as underline.

comment:2 Changed 15 years ago by Wiktor Walc

Keywords: Confirmed added; magictags mediawiki removed
Resolution: fixed
Status: newclosed

Fixed with [3280].

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