mirror of
https://github.com/moodle/moodle.git
synced 2025-03-27 11:02:38 +01:00
Fix GIFT import to respect default answernumbering for new multichoice questions (introduced in MDL-50011). Default for shuffleanswers is still ignored, as this is a rather coarse-grained way to do it, and the wrong setting for shuffleanswers would irreversibly alter the meaning of some questions. This is not an ideal long-term fix, but will save significant effort for anyone who needs to be able to set answernumbering style for questions imported in GIFT format.
Question import/export formats ============================== This directory contains plug-ins to supprt importing and exporting questions in a variety of formats. Each sub-module must contain at least a format.php file containing a class that contains functions for reading, writing, importing and exporting questions. For correct operation the class name must be based on the name of the plugin. For example: plugin: webct class: class qformat_webct extends qformat_default { Most of them are based on the class found in question/format.php. See the comments therein for more information.