Extension talk:TeX Editor


 * Hmmm, I made a minor spelling correction in the content page and now the page is generating errors, presumably due to file permission problems.  DavidJameson 14:58, 1 August 2006 (UTC)
 * Hi David, where do you see errors? on which page? here on the wiki or on your server at home? Mafs 16:15, 1 August 2006 (UTC)
 * The error was on THIS site - the content page - looked like it was trying to reference some files or folders that were not writable.
 * strange ...


 * PS I corrected a bug in TEX Editor/Code.


 * I just installed TeXEditor - it's very nice but I'm seeing a problem. Whenever I click on a math symbol in your popup window, I get a little dialog popup that says  Error: wfSajaxMath not callable.


 * David, thank you for testing!
 * I can reproduce the error message by disabling the line "$wgAjaxExportList[] = 'wfSajaxMath';" in SpecialTexbox.php, eg

// $wgAjaxExportList[] = 'wfSajaxMath';


 * Does your LocalSettings.php contain something like $wgAjaxExportList[] = array( ...); which would override the value set in SpecialTexbox.php?
 * Mafs 20:16, 1 August 2006 (UTC)
 * Yes - I just installed the FCKeditor to try it out. The following lines were put in LocalSettings

$wgAjaxExportList = array( 'wfSajaxSearch' ); $wgAjaxExportList[] = 'wfSajaxSearchImageFCKeditor'; DavidJameson 21:09, 1 August 2006 (UTC)


 * That's it, provided the FCK part was placed behind the Math part. So, remove

$wgAjaxExportList = array( 'wfSajaxSearch' );


 * which was copied from DefaultSettings.php and it should work (hopefully). I will delete this line also in FCKeditor. Mafs 21:39, 1 August 2006 (UTC)


 * Yep - that fixes the problem - however, it seems to me that the code needs to be generalised so that the array is not assigned if it already exists. Otherwise everyone who writes extensions that need Ajax is going to be bitten by this. Who should this be reported to? DavidJameson 14:18, 2 August 2006 (UTC)


 * Hm, you might want to delete eg 'wfSajaxSearch' from the list in which case you must empty the array.
 * To claify the issue here I move $wgAjaxExportList[] = 'wfSajaxMath'; from the code part to the LocalSetting.php section.
 * Thanks again for testing. Mafs 21:40, 2 August 2006 (UTC)


 * I become the Error: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /includes/SpecialTexbox.php on line 370 - Error was the false Editor :-/ - Problem is cleared

1.8.2
Any update on the 1.8.2-compatibility ?

Preview doesn't work
I've just installed the extension. Everything works smoothly despite preview feature. It simply shows nothing when I click on "preview" button. JavaScript console says "memory is not defined".

MediaWiki 1.9.2, Gentoo Linux, Firefox 1.5.

Any ideas?

Also Preview Problems
Hi,

I have also the problem, that the preview doesnt work. There is no error message. But when I click "preview" nothing happens.

I use mediawiki 1.9.2

Mediawiki 1.9.3
The Tex editor works without any problems except that there is no Icon for the Popupwindow what might be the Problem anybody who can help me?! thanks

Preview doesn't work either
JavaScript returns: memory not defined in both Firefox 2 and Internet Explorer 6. Any clue?