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 < and > .
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