Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Wiki requirements: Difference between revisions

From MoodleDocs
m (Wiki requirements moved to Development:Wiki requirements)
Line 37: Line 37:
* '''search''' does not find page titles (so make sure that the page title is repeated somewhere within the page itself).
* '''search''' does not find page titles (so make sure that the page title is repeated somewhere within the page itself).
* '''export''' does not export all wiki content
* '''export''' does not export all wiki content
* '''delete pages''' and '''strip pages''' often do not work. (the most common error message is: ''Course Module is incorrect''
* '''delete pages''' and '''strip pages''' often do not work. (the most common error message is: ''Course Module is incorrect'', which sometimes can be bypassed by using another theme. formal_white is known to cause such problems.)
* '''moodle editor does not handle hyperlinks correctly'''.  i.e. All links must be manually placed within square brackets rather than embedded as HTML links.
* '''moodle editor does not handle hyperlinks correctly'''.  i.e. All links must be manually placed within square brackets rather than embedded as HTML links.



Revision as of 10:41, 20 September 2006

Moodle wiki purpose

To provide a way for students, teachers and other Moodle participants to create an organic, on-line document collaboratively.

Key features

  1. Pages can be created and linked using simple wiki methods.
  2. All Moodle text formats can be supported.
  3. Editing and viewing can be restricted by Moodle roles (i.e. currently: Students, Groups, Teachers).
  4. Images can be easily inserted into the text of a wiki.
  5. Attachments can be made to wiki pages.
  6. Must be fully compliant with Moodle backup and restore.
  7. Must be fully compliant with Moodle logging and activity tracking.
  8. Must provide a method of grading (see assignment module). Grading should be optional on a per-wiki basis.
  9. Allow importing of external documents to create a wiki or add to an existing one.
  10. Allow exporting to an external document.
  11. Allow refactoring/moving/deleting pages with appropriate permissions.

(from Martin's list):

Basic Operation

Create the wiki:- Log in/ Turn editing on/ Add and activity/ Wiki - Fill in wiki parameters (Leave defaults and experiment later. Everything except the inital page fields can be changed.)

Adding pages:

- Edit the first (& only page)/ Type the name of the new page you want within square brackets/ Click Save. The new page link is displayed beside a question mark./ Click the question mark to open the new page for data entry.

- pages can be added from any page. (Suggestion: On your start page, type "PageIndex" and perhaps "Site Map" and/or "Newest Pages" so that the user is alerted to these options immediately on entering the wiki. They also appear on the "Choose wiki links" drop down at the top of the wiki window.

The wiki is one of the most powerful tools within moodle and suitable for many educational & administrative functions including:

  1. a wonderful way to encourage students to build, debate and share a summary of their course content as they work
  2. a great way to deliver your school administrative manuals i.e. teachers manual; student manuals. They are searchable, interlinked automatically & able to be continuously updated showing who, when & how the updates were made.

Currently some wiki features do not work reliably:

  • search does not find page titles (so make sure that the page title is repeated somewhere within the page itself).
  • export does not export all wiki content
  • delete pages and strip pages often do not work. (the most common error message is: Course Module is incorrect, which sometimes can be bypassed by using another theme. formal_white is known to cause such problems.)
  • moodle editor does not handle hyperlinks correctly. i.e. All links must be manually placed within square brackets rather than embedded as HTML links.

Design Objectives

  • The Wiki should support exactly the same text formats in Moodle core as you find everywhere else (see weblib.php for standard functions, eg format_text). ie Moodle format, HTML format, Markdown, etc. Any new formats need to go in the core so they are available everywhere, and this needs to be discussed very well. We only JUST removed the old Wiki-like format to reduce confusion with the current Wiki and I don't want more of this confusion from a rushed implementation.
  • Linking should support both CamelCase and [Bracket] styles, and also automatic linking on the fly (a la Glossary).
  • Upgrading from the old system to any new one should be seamless and problem-free (this includes restoring old backups from 1.4, for example).
  • The idea with eWiki was to build on the work of the eWiki team in future. Unfortunately, so many hacks needed to be made to their monolithic script that this became almost impossible. I would like to see a lot of thought put into a very cleanly-designed architecture for the Wiki in future, something that is easy to extend and maintain (and also to use).
  • I really like MediaWiki, as this Wiki is becoming a defacto standard (for good reason) and it would be good to be compatible in some way with it. Perhaps we can use part of it as a library for us. However, the Moodle Wiki is a COMPONENT within the larger Moodle system and has a very different focus to MediaWiki (which is designed for large standalone web sites) ... much thought should be given to making our Wiki work very closely with other modules, rather than another module that tries to do everything itself. It should do exactly what it needs to do and no more.
  • Support for media in a very clean way is a must. This is probably my biggest criticism of the current eWiki version ... attaching images and video etc is really awkward and doesn't look good.

New wiki issue list

  1. There is no userid column in the wiki_pages table (author char-string instead). Must be supported in migration too.
  2. There is no intro and introformat in the wiki table.
  3. In the upgrade from wiki to dfwiki, as there aren't userids, my wiki-pages were assigned to "guest". Once more, userid seems to be critical.
  4. Wikis having different wiki_entries (group or user ones) have no support in new wiki (only one simultaneous line of versions is available?) so we get a lot of duplicate version errors with data-lost of such pedagogical feature! Or am I losing anything? With only groupid and version in the UK of the table, old student wikis can fit in the new one. Once more, userid!
  5. Search doesn't work for diacritics. And/or match is performed with case matching (I think).
  6. Search seems to work against titles and contents always (no matter the checkbox was selected or no). Perhaps it's due to that usage of globals? Ah! After a second try I saw that such checkbox is to decide to show the details of the search in the body of the page. Perhaps the title should be changed to be a bit more clear? Something like "show results page" and some sort of nice help...
  7. The useful "What links here" block isn't available.
  8. Wiki backup and restore don't support individual activities!
  9. Wikis aren't included in the backup/restore at all!
  10. Blocks system. Would be difficult to migrate to core block system?
  11. UTF-8 migration always get teacher_main_language() and it should get page author language! If we know the author responsible for the version, we must look for their original encoding instead of using the teacher one! Similar to forum_posts (if I'm not wrong). And we should know the user: userid again! ;-)
  12. In the wiki_pages table there is one "dfwiki" field. Should be "wikiid". Such name doesn't sound ok. (although it's possible that migation become painful, so we can change it in the future...).
  13. dfwiki is inside a lot of places in code. It should go out (although it's possible that migation become painful, so we can change it in the future...).
  14. globals, globals, globals usage should be out. Just request parameters filtered with xxxx_param() functions.
  15. Attachment storage (as I've seen in the old-new migration script) seems to be a bit special with a lot of "dfwikiXXXX" dirs generated.
  16. The old-new migration script seems to be twice, once under the wikimigrate dir (the used one) and under the mod directory (unused?).

(List taken from Using Moodle Wiki UTF is ready forum posting.)

See also