Scripts & Plugins
Overview
In the process of developing and maintaining a large number of courses for our consortium, sometimes a script can save a lot of developer hours and improve accuracy. These are normally used during the summer, leading up to our annual resource release. We store them here mainly for our own use, but if you need a tool, feel free to use at your own risk.
Overwrite Course Descriptions (Summaries):
Each year, we update all the course summaries prior to release. This helps us determine the release date of a course should any confusion occur during support. This plugin allows us to change the descriptions very quickly.
Script = Course Summary Overwrite (download zip) |
What this script does:
|
Instructions:
|
Search for broken and insecure links:
Maintaining courses means watching for broken links. This tool quickly helps developers identify links that are broken. Also, since we are now ensuring that our resources are compatible with secure Moodle sites, we need to watch for links that were incorrectly entered.
Depending on your server settings you may be required to create a local instance of your website and database.
Follow the instructions on the plugin very carefully. Backing up the database table 'mdl_book_chapters' is recommended. Once the 'Run' button is clicked, the execution time may be hours if the link limit is set high, make sure your server has sufficient memory allocated otherwise it may crash.
Script = Check Links (download zip) |
What this script does:
|
Instructions:
|
Standard Assignment Settings:
After developing resources for our members, we've determined that there are particular settings which serve our teachers/students best. In the business of developing, sometimes details are missed which confuses things for users. This tool focuses on all the assignments in courses. Ensure completion tracking is set-up before running this.
Script = Apply Assignment Standards (download zip) |
What this script does:
|
Instructions:
|
Standard Quiz Settings:
After developing resources for our members, we've determined that there are particular settings which serve our teachers/students best. In the business of developing, sometimes details are missed which confuses things for users. This tool focuses on all the quizzes in courses. Ensure completion tracking is set-up before running this.
Script = Apply Quiz Standards (download zip) |
What this script does:
|
Instructions:
|
WIRIS to MathML Conversion
By default WIRIS formulas are stored as what we call safeXML in Moodle and they are also exported as safeXML. safeXML is a slight modification of MathML replacing some symbols: http://www.wiris.com/en/plugins/docs/resources/encoding-attributes.
As of June 2017, we've confirmed that the WIRIS editor doesn't convert to MathML. They estimate that this will be working next summer. Thus, for this year (and until we hear otherwise) we need to run the script on ALL math, physics, and some science courses to ensure that they can be used by members who don't have the WIRIS filter installed. The original script from WIRIS (wiris_safexml_to_xml_backup.pnp) was modified to the script below to provide some error feedback.
Script = Apply Quiz Standards (/_WIRIS_Converter/) |
What this script does:
|
Instructions:
|