Wiki science/Source Code

Many wikis discuss programming topics, such as learning a particular programming language, drawing fractals or adding plug-ins to utility software. Specific tips and recommendations ...


 * Most wikis already support formatting source code in a special way


 * A few wikis support executing code on the browser's computer (probably only possible with JavaScript or Java).


 * A few wikis support executing code on the server (so the code can be just about any language): http://c2.com/cgi/wiki?WikiWithProgrammableContent

Licenses
What sort of license governs the source code displayed by your wiki? For example, if you're writing a language tutorial with lots of "toy" programs, you could say "all source code is public domain".

(What sort of license governs the regular text displayed by your wiki?)