scumble on 18/5/2006 at 22:07
Although the current wiki software we use (Wikka Wiki) is adequate, it isn't actually the easiest to work with, I don't really like the way it formats pages, and the search function is relatively unhelpful.
Having realised recently that the latest version of MediaWiki does actually run on TTLG's server after all, though it's not clear why it wouldn't install for Dave earlier on, I decided it was worth changing over.
I think the markup is easier to use, the search function is better, and we also have image uploads to make it easier for everyone to add images. I also think it generates better looking HTML, at least as far as layout is concerned.
At this point, however, not all of the pages have been moved over, so this is where help is required. I've asked GlasWolf to help already, and he has already moved quite a few pages, but I think more people on the job would be beneficial so at this point I'm letting everyone who wants to in.
If you'd like to head over to where the (
http://ttlg.com/wiki/) new wiki lives and register, the information can continue to be transferred and hopefully improved in the process. MediaWiki's markup should be mostly self-explanitory if you look at existing pages, and you can follow the "help" link to get to more information. If there are some initial queries about how I've set up templates for making TriggerScripts easier to put in and so on, please ask here.
potterr on 18/5/2006 at 22:42
Are there any easy ways to transfer stuff from the old wiki?
scumble on 18/5/2006 at 23:23
In theory, one could write a script, but that would take quite a bit of time in itself, and wouldn't necessarily produce the best results. It's possible to speed up the manual process by using some simple search and replace work with a text editor though.
Besides, there aren't really that many pages, and a lot of them could do with an overhaul anyway.
Krypt on 19/5/2006 at 00:27
Wow, the new wiki looks great. Much easier to navigate with the contents at the top of each page with clickable links for subsections. And you even have little icons for the scripting headers! Good job :thumb:
GlasWolf on 19/5/2006 at 01:20
The way I've been transferring stuff is to take the "source" from the old wiki pages then paste it into a text editor. Then:
* Do a find-and-replace on common formatting codes - bold (** goes to ''' (3 apostrophes)), italics (// goes to '' (2 apostrophes)). Some people also use < b > tags etc.
* If it's a long document, split it into subsections using headers. They are still marked by equal signs but handily with the "opposite" meaning to the old wiki - 2 for main headers, 3 for sub-headers and 4 for sub-sub headers e.g.
==Main Header==. These automagically generate the index box at the top of the page, so bear that in mind when defining your sections.
* The old wiki used variable-like page names such as
SwimmableWaterTutorial. The main page headline is now generated from the page name, so call it
Swimmable Water Tutorial. This is also how you refer to it in links.
* Talking of links, here's something simple that had me stumped for a bit: to have the text of a link different to the page name itself, use piped links. Thus it will take the format
[[Swimmable Water Tutorial|how to implement swimming]]. With external links you use single brackets and don't need the pipe -
[(http://www.whatever.com/) random website]Finally, scumble has implemented rather nifty script templates. If you're adding a script, use the following format (html tags have added spaces to stop the forum parsing them - take them out, obviously):
Code:
< div class="ts" >< u >'''Script name here'''< /u >
{{conditions}}
:{{condition|Condition 1 here}}
:{{condition|Condition 2 here}}
{{action}}
:{{action|Action 1 here}}
:{{action|Action 2 here}}
< /div >
There are ways you can do complex conditions too - have a look at the scripting reference page source to see how.
Enjoy!
scumble on 19/5/2006 at 07:47
Thanks GlasWolf, I was intending to produce a little primer myself, but I was getting a bit tired after too many hours in CSS hell trying to get the modified skin working in IE properly...
As an addition to the note on scripting templates, you do Logical conditions using the LogicalOp template:
Code:
{{LogicalOp|AND}}
{{LogicalOp|OR}}
{{LogicalOp|NOT}}
{{LogicalOp|XOR}}
I've updated the example in the (
http://ttlg.com/wiki/t35t/mediawiki/index.php?title=FleshWorks:Sandbox#Testing_of_Scripting_templates) sandbox to illustrate its usage.
Quote Posted by Krypt
Much easier to navigate with the contents at the top of each page with clickable links for subsections. And you even have little icons for the scripting headers! Good job :thumb:
The table of contents is also a helpful feature of MediaWiki, meaning it isn't really necessary to split up longer pages so much, like the (
http://ttlg.com/wiki/t35t/mediawiki/index.php?title=Scripting_conditions) scripting conditions list.
Crispy on 19/5/2006 at 09:44
Awesome! MediaWiki is great; we're actually using it at work so I've been hacking on it a bit. I really like the script templates, they're quite neat.
*dreams of implementing some kind of copy/paste script functionality into T3Ed that can interoperate with the wiki scripting syntax...* Hmm. Nah. It'll never happen, but it's fun to think about. :)
scumble on 22/5/2006 at 07:54
Are there really no more volunteers? GlasWolf is practically doing all the work with moving pages at the moment...
scumble on 22/5/2006 at 22:37
GlasWolf and Crispy - be careful you aren't duplicating work, both of you have re-created material I moved and re-organised.
Note that we can use the discussion pages to organise things and talk about content etc.