mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00

This commit reduces boilerplate code. It also forces WS returning files to always return the following fields: filename, filepath, mimetype, filesize, timemodified and fileurl.
10 lines
503 B
Text
10 lines
503 B
Text
This files describes API changes in /mod/wiki/*,
|
|
information provided here is intended especially for developers.
|
|
|
|
=== 3.2 ===
|
|
* External functions that were returning file information now return the following file fields:
|
|
filename, filepath, mimetype, filesize, timemodified and fileurl.
|
|
Those fields are now marked as VALUE_OPTIONAL for backwards compatibility.
|
|
|
|
=== 3.1 ===
|
|
* Added a new param $sort to wiki_get_page_list function. Default value behaves exactly like before (sort by title ASC).
|