I'm working on a distributed operating systems textbook here:
http://en.wikibooks.org/wiki/ComputerScience:Distributed_Systems
There's lots of example code samples in the text. The code samples are getting longer and longer, and I'd like to make them available for download, but I can't tell how. I tried the Special:Upload page, but I kept getting the message ".c is not a valid image type" or something similar.
Any ideas? I posted this to the staff lounge last week but got no responses.
Matt
Why not make "foo/code1.c", "foo/code2.c" pages and link them from "foo"? Just put a space in front of every line, or just cover the whole thing in <pre>: <pre> your code here </pre>
Should work just fine...
Magnus
Matthew Wilson wrote:
I'm working on a distributed operating systems textbook here:
http://en.wikibooks.org/wiki/ComputerScience:Distributed_Systems
There's lots of example code samples in the text. The code samples are getting longer and longer, and I'd like to make them available for download, but I can't tell how. I tried the Special:Upload page, but I kept getting the message ".c is not a valid image type" or something similar.
Any ideas? I posted this to the staff lounge last week but got no responses.
Matt
Textbook-l mailing list Textbook-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/textbook-l
textbook-l@lists.wikimedia.org