I just installed the development Wiki module and what a pain! I have never installed one of the optional modules before and I was suprised by how unintuitive the process is. I had to copy all the various bits into the correct places myself - labor intensive and probably error prone.
Surely we can come up with a better way of doing this? Is it not possible to define a "package" specification for modules and then the admin/module page can (as well as setting up the database) move all the bits and pieces to the right place.
If anybody thinks this is worth the bother, I can try and put something together to see what it might look like.
How unfortunate you selected Wiki as your first Moodle module to install. All other modules are a no-brainer installation from Admin, requiring none of the additional steps Wiki does. The developers of this really great module will no doubt get it right before too long, so don't give up. Try adding the Dialogue module to see how simple everything else is in Moodle.
Okay, well first, it is under development.
Second, as far as I know, it follows the Moodle standard for module installation. You unzip it into your mod directory, visit the admin page, and its installed!
You do need to copy the language files, but as far as I know, you need to do that for any optional module. Isn't this true?
The only other elements that you can do (note, you don't have to), is to use any of the theme definitions in the theme directory to customize your own wiki look.
What is it that we don't have right?
Its just that I think that there should be (I hate to use the word) "standard" for putting together modules, and the process should be as automated as possible. Ideally the user has to (say) put the zip file somewhere and it just happens.
Didn't think you were. I was more worried about Bryan's remarks. I'm pretty sure the Wiki module installs as per Moodle spec.
That said, I do like your idea. The easier we can make installations happen, the happier the community is.
The things we need to deal with are:
- Language updates - copying new files (is there a need to update existing?)
- Themes - additions to the CSS spec.
- Automatic Update Checking - a tool that checks Moodle.org for bugfixes and new releases.
- Auto Loading - a tool that allows an update to be copied to your site, detected, and installed automatically.
- Undo - some way uf undoing what just got done (just in case).
I'm going to give Wiki another go today, as I really like this module. Last week I spent a few fruitless hours trying to get it installed, after having it working on an earlier (1.2.1) build. Probably felt the same frustration as Howard. Also, it wasn't clear to me in the install file that adding wiki_styles.php to the theme was optional.
Okay. But please, if there are installation issues, I need to know about them. I haven't heard of any installation problems before this, and as far as I know, it installs the way its supposed to.
For the styles issue, there is no way (that I know of) to introduce new CSS elements into the Moodle theme without creating a new theme. I added some elements from the erfurtwiki software so that anyone who wanted to could change the way the wiki is displayed by default.
The README instructions are pretty clear though I would have thought.
zip -r mymod.zip mod/mymod
zip -r mymod.zip lang/en/mymod.php
..and so on as required...
this means that unzipping in the root directory puts everything in the right place. But... its still a bit too technical for the casual user, who wants the module to be a plugin. Installing through a web interface would be really nice!
I'll have a think about it, and see if I can come up with something really clever (oh well, that's the end of that then )
Short-term - The module installation procedure will search for lang files and copy them if possible (otherwise it will at least tell you to copy them manually).
Long-term - Eventually I want it to be possible for Moodle to totally upgrade itself via the web (as long as the files are writeable).
Any help towards these two goals is most welcome.