Widget:CourseRegistration

 /* <![CDATA[ */ weCourse = ''; weCourseCategory = ''; weCourseFields = ''; weCourseTag = ''; weCourseClosed = ''; /* ]]> */ You must be logged in and have Javascript enabled to register.

Usage
A widget that allows "registering" for a course by creating a subpage of the user page.

A course page must exist in the MediaWiki: namespace of the form: MediaWiki:Course-  The course name must not contain punctuation that has a special meaning to HTML.

The widget accepts an optional parameter closed, which can be used to show a (plain text) message in place of the registration form for people that have not already registered. (Already registered participants are still shown the form for updates/withdrawls.)

Examples
Requires a course page at MediaWiki:Course-OERf 13.04 and will create user subpages titled OERf 13.04 each of which will be in the OERf 13.04 Participant category.