mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
9daabc71ea
Thanks to Tõnis Tartes for part of this solution. When force format was selected in the options, trying to view the wiki would redirect to the front page with a message saying that you do not have permission to edit this page. Students had no way of viewing any entries or creating the first page. When in force format it skips a page , which would be considered uncessary for students, but this means that the group id is not set and this is what is causing most of the problems. I also have included a check to see if the title is default and whether the user has permission to view all groups. In these situations the intermediate page is displayed.
Wiki 2.0 by Jordi Piguillem and Ludo (Marc Alier) 2008 - Universitat Politecnica de Catalunya http://www.upc.edu - http://dfwikilabs.org