Page MenuHomePhabricator

FCKeditor corrupts InputBox tags
Closed, InvalidPublic

Description

I've been testing MW 1.16b2 with FCKeditor svn. We also have Extension:InputBox svn installed so that users can easily create articles from a "create this article" box on the front page.

FCK editor corrupts the tags for InputBox, turning < and > into HTML entities &lt; and &gt; .

Original wikitext:

<center>
{|width="50%"

align=center'''Create a new page on this wiki'''

<inputbox>
type=create
default=Type the name of your new page here!
buttonlabel=Create my new page
bgcolor=#CCCCFF
</inputbox>

}</center>

Edit page in FCKeditor, click "Disable rich text editor":

<center>
{| width="50%"

-
align="center"'''Create a new page on this wiki''' <div align="center" style="background-color: rgb(204, 204, 255);"><form method="get" action="/testwiki/index.php" class="createbox" name="createbox"><input type="hidden" value="edit" name="action"></input><input type="hidden" value="" name="preload"></input><input type="hidden" value="" name="editintro"></input><input type="hidden" value="" name="summary"></input><input type="hidden" value="" name="nosummary"></input><input type="hidden" value="" name="prefix"></input><input type="hidden" value="" name="minor"></input><input type="text" size="50" value="Type the name of your new page here!" class="createboxInput" name="title"></input><br><input type="submit" value="Create my new page" class="createboxButton" name="create"></input></form></div>
}

</center>

Cancel edit, edit page in FCKeditor, hit 'save' - and the rendered page is:

Create a new page on this wiki
<form method="get" action="/testwiki/index.php" class="createbox" name="createbox"><input type="hidden" value="edit" name="action"></input><input type="hidden" value="" name="preload"></input><input type="hidden" value="" name="editintro"></input><input type="hidden" value="" name="summary"></input><input type="hidden" value="" name="nosummary"></input><input type="hidden" value="" name="prefix"></input><input type="hidden" value="" name="minor"></input><input type="text" size="50" value="Type the name of your new page here!" class="createboxInput" name="title"></input>
<input type="submit" value="Create my new page" class="createboxButton" name="create"></input></form>

[[Special:Version]] shows the InputBox tags as being registered by Mediawiki. Should FCKeditor corrupt the tags as it evidently does?


Version: unspecified
Severity: enhancement

Details

Reference
bz23561

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:04 PM
bzimport set Reference to bz23561.
bzimport added a subscriber: Unknown Object (MLST).

Copied from bug 30075:

Per this upstream bug http://dev.ckeditor.com/ticket/5602

"FCKeditor and MediaWiki are no longer supported. Closing the ticked as invalid."