on-demand release 4.0dev+
[moodle.git] / question / format / upgrade.txt
... / ...
CommitLineData
1This files describes API changes for question import/export format plugins.
2
3=== 4.0 ===
4
5* The ExamView question format has been completely removed.
6The last posts in http://forum.examview.com/index.php?
7are from over 10 years ago and there are no moodle.org
8discussions about Examview in the last 10 years.
9
10* The WebCT question format has been completely removed (WebCT was acquired by Blackboard in 2006).
11
12
13=== 3.6 ===
14
15* Saving question category descriptions (info) is now supported in Moodle XML import/export format.
16New xml-structure snippet for a question category:
17<question type="category">
18 <category>
19 <text>${$contexttypename}$/{$category_path}</text>
20 </category>
21 <info format="{$format}">
22 <text>{$info_categorydescription}</text>
23 </info>
24</question>
25* The method importprocess() in question/format.php no longer accepts $category as a parameter.
26If required in a plugin then please override this method.
27
28=== 2.3 ===
29
30* This plugin type now supports cron in the standard way. If required, Create a
31 lib.php file containing
32function qformat_mypluginname_cron() {};
33
34=== 2.1.5 / 2.2.3 / 2.3 ===
35
36* The readquestions method used to take a second argument $context. However, at
37 the point where this method was called, it was impossible to know what
38 context the quetsions were going to be saved into, so the value could be
39 wrong. Also, none of the standard question formats were using this argument,
40 so it was removed. See MDL-32220.
41
42=== 2.2 ===
43
44* The plugin name used to be defined in a string called the same thing as the
45format, with assoicated help strings, for example:
46
47$string['aiken'] = 'Aiken format';
48$string['aiken_help'] = 'This is a simple format ...';
49$string['aiken_link'] = 'qformat/aiken';
50
51This needs to be changed to use the standard string name pluginname, as for
52other plugin types.
53
54$string['pluginname'] = 'Aiken format';
55$string['pluginname_help'] = 'This is a simple format ...';
56$string['pluginname_link'] = 'qformat/aiken';