from http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi:
If needed, change the following line in SyntaxHighlight_GeSHi.class.php to suit the path of your geshi.php file require_once( 'geshi/geshi.php' );
that line does'nt exist there!
HeinzJ wrote:
from http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi:
If needed, change the following line in SyntaxHighlight_GeSHi.class.php to suit the path of your geshi.php file require_once( 'geshi/geshi.php' );
that line does'nt exist there!
It's require( 'geshi/geshi.php' ); on line 205
HeinzJ wrote:
from http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi:
If needed, change the following line in SyntaxHighlight_GeSHi.class.php to suit the path of your geshi.php file require_once( 'geshi/geshi.php' );
that line does'nt exist there!
No, it didn't. I simply just added the line to somewhere near the end of the file...
Ray
==This lines work for me (Mediawiki 1.11.0)==
Just Add
// change directory >> /usr/local/src/geshi/ << according to your geshi installation include_once('/usr/local/src/geshi/geshi.php'); $languagesPath = "/usr/local/src/geshi/geshi";
to the top of '''SyntaxHighlight_GeSHi.php'''
mediawiki-l@lists.wikimedia.org