https://bugzilla.wikimedia.org/show_bug.cgi?id=23067
Summary: FCK integration breaks page content because of quoting
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When using FCK Editor/WYSIWYG extension in conjunction with Semantic Forms,
editing a page through the formedit action will break the page markup because
all double quotes are replaced by """. This will destroy for example the
following markup:
{|class="wikitable
!head
|value
|}
<source lang="php">
// some source here
// note this will work only with GesHI extension
</source>
= Steps to reproduce =
1.) install Semantic Mediawiki, Semantic Forms and WYSIWYG extension
2.) edit page through form
3.) drop into Wikitext mode
4.) paste the following markup:
{|class="wikitable"
!head
|value
|}
5.) save the page
6.) check out source of page and see that
{|class="wikitable"
has been changed to
{|class="wikitable"
which is not correct wiki markup of course
= Source code hint =
Quoting appears in SemanticForms/includes/SF_FormPrinter.inc line 1205:
$free_text = str_replace( '"', '"', $free_text );
Commenting out this line does solve the problem, but may cause other problems
(I did not yet see any, but YMMV).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l