Wiki Science/Source Code
From Wikibooks, the open-content textbooks collection
| Wiki Science |
| Introduction |
| Vibrant user base -
How to maintain - Source code |
| Future - Wikiresearch - |
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; see for instance this code at Wikisource).
- A few wikis support executing code on the server (so the code can be just about any language): http://c2.com/cgi/wiki?WikiWithProgrammableContent
[edit] 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? See http://wikilegal.wiki.taoriver.net/ for discussion.)