Hello everyone!
I installed FCKeditor 2.6.4 onto mediwiki 1.4, and it works fine, except for one problem. When ever someone edits a page, if the editor is enabled it adds the following into the page at the top:
If you disable the editor and delete it out of the page, it works fine, just a bit annoying. Any idea whats going on? Google has failed me on this one and I havent been able to track down this function in any of the FCKeditor files.
I installed FCKeditor 2.6.4 onto mediwiki 1.4, and it works fine, except for one problem. When ever someone edits a page, if the editor is enabled it adds the following into the page at the top:
<script type='text/javascript'>
function toggleExpandable(id) {
var heading = document.getElementById('expandable-heading-'+id);
var content = document.getElementById('expandable-content-'+id);
if (content.style.display == 'none') content.style.display = '';
else content.style.display = 'none';
this.parent.focus();
}
</script> If you disable the editor and delete it out of the page, it works fine, just a bit annoying. Any idea whats going on? Google has failed me on this one and I havent been able to track down this function in any of the FCKeditor files.

Re: Javascript Error
http://www.mediawiki.org/wiki/Extension ... ble_tables
$wgHooks['ParserAfterTidy'][] = 'allowExpandables'; function allowExpandables(&$parser,&$text) { if ($GLOBALS['allowex-done']++) return true; # Replace all the expandable tables with html containing CSS classes and the show/hide links $text = preg_replace_callback( '/<table class=["\']?expandable["\']? title=["\']?(.+?)["\']?\\s*(id=["\']?.+?["\']?)?\\s*>(.+?<\\/table\\s*?>)/s', 'expandableCallback', "\n<script type='text/javascript'> function toggleExpandable(id) { var heading = document.getElementById('expandable-heading-'+id); var content = document.getElementById('expandable-content-'+id); if (content.style.display == 'none') content.style.display = ''; else content.style.display = 'none'; this.parent.focus(); } </script>\n$text" ); return true; }