[DONE] code extension for mediawiki

Please install the code extension:
http://www.mediawiki.org/wiki/Extension:Code

is already installed.

see here
http://wiki.opensourceecology.de/wiki/MediaWiki_Extensions/en

TF

okay. please change the tag to

hmm… I don’t know if its a good idea because the language setting is mandatory and would not work.

A better idea is it to optimize the wiki editor and add buttons for different popular languages, ok?

TF

I don’t think the language setting is mandatory:



Okay, go ahead. A Code Button would be nice. Different languages? Okay, if it’s mandatory.

I can’t edit the file because I don’t have the permission for edit.

Who had installed the wiki?

He or the root user should set the permission „read and write“ for all other users.
The same with the other folders and files for example wordpress, forum, etc.

ty

TF

You do have root access on the server already with the user ‚sg‘

PS: Setting the config files readable and writable by all users would impose a security hole and should never be considered state of the art.

ok

buttons

„code“
„asm“ → assembly
„asp“
„html“
„php“
„java“
„cpp“

added in the wiki editor.

If you need other languages then post it

http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Parameters

have fun :smiley:

TF

thanks!