r82145 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82144‎ | r82145 | r82146 >
Date:21:12, 14 February 2011
Author:mah
Status:deferred
Tags:
Comment:
Bug #25653 “FCKeditor doesn't work in the latest version of MW with any RTL installation”
Apply patch found there – PLEASE TEST
Modified paths:
  • /trunk/extensions/FCKeditor/FCKeditor.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FCKeditor/FCKeditor.body.php
@@ -413,7 +413,7 @@
414414 oFCKeditor.Config["CustomConfigurationsPath"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/fckeditor_config.js";';
415415 // Load fckeditor-rtl.css for right-to-left languages, but only fckeditor.css for other languages
416416 if( $wgContLang->isRTL() ) {
417 - $script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor.css, wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor-rtl.css";';
 417+ $script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor.css + wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor-rtl.css";';
418418 } else {
419419 $script .= 'oFCKeditor.Config["EditorAreaCSS"] = wgScriptPath + "/" + wgFCKEditorExtDir + "/css/fckeditor.css";';
420420 }

Status & tagging log