Last modified: 2011-07-27 23:25:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25561, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23561 - FCKeditor corrupts InputBox tags
FCKeditor corrupts InputBox tags
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
FCKeditor (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-17 12:26 UTC by David Gerard
Modified: 2011-07-27 23:25 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description David Gerard 2010-05-17 12:26:08 UTC
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?
Comment 1 Chad H. 2011-07-27 23:25:47 UTC
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."

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links