Hello
I would like to put in a page a code php like:
<?php
echo "hello world"
?>
But I can do it. I try to use Extension:RawCodeFile but mediawiki say me that geshi.php doesn't exist, but I put it in the right directory.
Any ideas?
Thanks
Hello
I would like to put in a page a code php like:
<?php
echo "hello world"
?>
But I can do it. I try to use Extension:RawCodeFile but mediawiki say me that geshi.php doesn't exist, but I put it in the right directory.
Any ideas?
Thanks
Which version of MediaWiki are you using?
I don't know, how the RawCodeFile extension is working, but for MediaWiki 1.26, the GeSHi extension has undergone a major rewrite. Especially, it in fact is no longer using the GeSHi highlighter, but Pygments. If you are using MediaWiki 1.26, this might contribute to the problem.
GeSHi does syntax highlighting, but the RawCodeFile extension also offers a download link, which GeSHi does not have. So GeSHi is not a full replacement for RawCodeFile.