In order to use this interface anyone accessing the MOOC has to update the "common.js" file in the respective user namespace. This is necessary until the MOOC module is fully integrated into MediaWiki.
A MOOC consists of lessons and units, where lessons contain any number of smaller units. Lessons and units have learning goals and further reading resources. In addition, units can have a video, a script and a quiz. With the enhanced interface you can discuss directly at the lesson/unit page.
The following introduction will allow you to access MOOCs using this module and create your own MOOC. It is assumed that you have a user account and are logged in.
Enable the enhanced user interface for MOOCs
The first step is to copy the `common.js` file from User:Sebschlicht/common.js (The file contains a script to dynamically load additional resources the page you visit needs. This is limited to our namespace and loads the main MOOC script User:Sebschlicht/mooc.js)
Congratulations! This is all you need to do, if you want to access MOOCs with our enhanced user interface. Now we will create a new MOOC using the new functionally you just enabled.
Create a MOOC
With the `common.js`updated go to Category:MOOC and click the plus button you can find below the introduction lines. Enter a title that matches your topic. You can add a summary if you wish to.
Now click the save button and wait until you get redirected.
Behind the scenes
At first, you have created a wiki page that invokes the Lua MOOC module that renders the MOOC overview. Secondly a central index pages was created automatically in order to store the structure of the MOOC you have just created. This does not only include the lessons and units you MOOC will consist of, but some of the content related to a MOOC item such as
- learning goals
- video source
- further reading
If you experience any problems with the user interface you can always edit this index page directly. It is located
/MoocIndex to your MOOC.
Example: MOOC @ Web_Science/Part1:_Foundations_of_the_web -> MOOC-Index @ Web_Science/Part1:_Foundations_of_the_web/MoocIndex
The file uses wiki syntax in order to be human readable and easy to edit. However, please note that you have to be careful. If the central index page gets broken this may effect more than just the item you edited.
Once you have a MOOC that comes with an overview page, you can add lessons to it: Simply click the plus button in the `lessons` section of the overview page. The lesson will be empty at first, but you can use the edit buttons in the sections to add and edit content. Since a lessons consists of units, you will see all the associated units here. Use the plus button at lesson page to add an unit. The unit will be empty, too, and you can again use the edit buttons to change this.
Most of the edits you make will affect the MOOC index introduced before, but not all of the content is stored in the index. Some resources may be used at other pages and therefore are accessible for their own. This includes scripts and quizzes that you can always access by `/script` or `/quiz` relative to the unit they are related to.