https://bugzilla.wikimedia.org/show_bug.cgi?id=25653

--- Comment #1 from gregory <[email protected]> 2010-11-15 03:01:39 UTC ---
(In reply to comment #0)
> There seems to be a JavaScript problem with this version that concerns the
> localization to Hebrew (and maybe other languages too). When I change
> $wgLanguageCode to En, it works perfectly but as soon as I change back to
> Hebrew the editor couldn't load. I also get on my firebug these JS errors:
> 
> <pre>
>  unterminated string literal
>  ss/fckeditor-rtl.css";\n
> 
>  showFCKEditor is not defined
>  if( showFCKEditor & ( RTE_POPUP|RTE_TOGGLE_LINK ) ){ 
> </pre>
> 
> To see the bug, go to my wiki (as I mentioned in the URL) - and <a
> href='http://wikidemo.willki.com/heb16/index.php?title=%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99&action=edit'>edit</a>.

OK, got it working.
One of the JS lines was buggy.
To fix it, change line 418 in extensions/FCKeditor/FCKeditor.body.php from

 $script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" +
wgFCKEditorExtDir + "/css/fckeditor.css, wgScriptPath + "/" + wgFCKEditorExtDir
+ "/css/fckeditor-rtl.css";';

to

$script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" +
wgFCKEditorExtDir + "/css/fckeditor.css" + wgScriptPath + "/" +
wgFCKEditorExtDir + "/css/fckeditor-rtl.css";';

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to