MDL-56103 wiki: Return version in get_page_contents
[moodle.git] / mod / wiki / upgrade.txt
CommitLineData
96abf9af
DP
1This files describes API changes in /mod/wiki/*,
2information provided here is intended especially for developers.
3
14590070
JL
4=== 3.2 ===
5* External functions that were returning file information now return the following file fields:
6 filename, filepath, mimetype, filesize, timemodified and fileurl.
7 Those fields are now marked as VALUE_OPTIONAL for backwards compatibility.
7f98de7d 8* External function get_page_contents now returns the page version. This new field is marked as VALUE_OPTIONAL for backwards compatibility.
14590070 9
96abf9af
DP
10=== 3.1 ===
11 * Added a new param $sort to wiki_get_page_list function. Default value behaves exactly like before (sort by title ASC).