Show
Ignore:
Timestamp:
2008-08-27 16:58:27 (4 months ago)
Author:
wwalc
Message:

Changed the way how FCKeditor is loaded + a couple of other bugfixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/FCKeditor.php

    r2077 r2388  
    6464    $wgFCKEditorHeight = "0"; // "0" for automatic ("300" minimum). 
    6565} 
    66  
    6766/** 
    6867 * Enable use of AJAX features. 
     
    7675$wgAjaxExportList[] = 'wfSajaxSearchTemplateFCKeditor'; 
    7776$wgAjaxExportList[] = 'wfSajaxSearchSpecialTagFCKeditor'; 
     77$wgAjaxExportList[] = 'wfSajaxToggleFCKeditor'; 
    7878 
    7979$wgExtensionCredits['other'][] = array( 
     
    8989 
    9090$oFCKeditorExtension = new FCKeditor_MediaWiki(); 
     91 
    9192$oFCKeditorExtension->registerHooks(); 
    9293 
     94$wgDefaultUserOptions['riched_use_toggle'] = 1; 
     95$wgDefaultUserOptions['riched_start_disabled'] = 1; 
     96$wgDefaultUserOptions['riched_use_popup'] = 1; 
     97$wgDefaultUserOptions['riched_toggle_remember_state'] = 1;