Extension talk:Code

From MediaWiki.org
Jump to: navigation, search

Doesnt work under 1.16

When I copied and pasted, I got the error Parse error: syntax error, unexpected ':' in /path/to/mw/extensions/Code/Code.php on line 57. It turned out that the cause was a newline that got inserted into the earlier comment

     #$source = "file_get_contents disabled! Contact Mike Sullivan at x3126 with questions.";

I replaced the name and extension with an email address, removed the newline, and it works fine now.


in Code directory, after syntaxhightlight extension install, create sim-link of geshi lib in Code extension directory

ln -s ../SyntaxHighlight_GeSHi/geshi/ .

and all work