On Apr 26, 2006, at 2:40 AM, Dave Howorth wrote:
Hello,
I'm setting up a small mediawiki site with content migrated from kwiki. I'm getting quite confused by how to find out how to do things with mediawiki, so I joined this list to ask some questions. But I'm even confused about whether this is the right place :)
Yes.
http://en.wikipedia.org/wiki/Wikipedia:Mailing_lists says "MediaWiki-l for people with questions about their own installation of MediaWiki", but the sign-up page for the list suggest a different focus "MediaWiki-l -- MediaWiki announcements and site admin list". So my apologies if I'm not in the right place.
Site admins? That's you. And me.
I have one page where I'm documenting how some of my code works. It's Javascript so the text is liberally scattered with HTML tags that I'm discussing. But mediawiki is *interpreting* these tags as HTML! I see that this is a feature from http://meta.wikimedia.org/wiki/ Help:Editing and http://meta.wikimedia.org/wiki/Help:HTML_in_wikitext even tells me which tags are affected. But I can't find anywhere that tells me how to turn this feature off when I don't want it. How can I write text that includes HTML tags as literals?
<pre> <---- Makes text look like code, but I expect you know that. <nowiki> <--- Turns off wiki. Totally. Everything below here will appear AS YOU TYPE IT. function thisIsCode() { $done = true; return true; } </nowiki> <--- Turns back on wiki. Continues as normal. </pre> <--- closes code block.
I'm also trying to include some images of what the resulting page looks like. I succeeded by just adding something like http://localhost/htdocs/images/one-line-evidence.png to my wikitext, but I suspect that's not the pukka way to do it. Is there a better way?
First, upload it - there's an 'upload file' link in the toolbox on the sidebar. Or you can go to http://sub.domain.tld/your/wikidir/ index.php?title=Special:Upload Then, upload the file. The interface should be pretty self explanatory. Once you've uploaded it, you can type [[Image:Filename.ext]] in any page and instead of a link, it will actually substitute it in.
Oh, is there a searchable archive for this list?
No idea.
Thanks and regards, Dave Howorth
No problem, Elliott Cable