MediaWiki API result
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{
"addchapter": {
"html": "\n\t\t<div class=\"collection-create-chapter-links\">\n\t\t\t<a class=\"makeVisible\" style=\" display:none;\" onclick=\"return coll_create_chapter()\" href=\"javascript:void(0);\">Create chapter</a>\n\t\t\t\t\t\t\t<a onclick=\"return coll_sort_items()\" href=\"/index.php?title=Special:Book&bookcmd=sort_items\">Sort alphabetically</a>\n\t\t\t\t<a onclick=\"return coll_clear_collection()\" href=\"/index.php?title=Special:Book&bookcmd=clear_collection\">Clear book</a>\n\t\t\t\t\t</div>\n\n\t\t<div class=\"collection-create-chapter-list\">\n\n\t\t\t\t\t\t\t<div style=\"collection-create-chapter-list-text\">\n\t\t\t\t\t<em class=\"makeVisible\" style=\"display:none; font-size: 95%\">Use drag & drop to reorder wiki pages and chapters</em>\n\t\t\t\t</div>\n\t\t\t\n\t\t\t<ul id=\"collectionList\">\n\n\t\t\t\t\t\t\t\t\t\t<li id=\"item-0\" class=\"chapter\">\n\t\t\t\t\t\t\t<a onclick=\"return coll_remove_item(0)\" href=\"/index.php?title=Special:Book&bookcmd=remove_item&index%3D=0\" title=\"Remove\"><img src=\"/extensions/Collection/images/remove.png\" width=\"10\" height=\"10\" alt=\"Remove\" /></a>\n\t\t\t\t\t\t\t<noscript>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/extensions/Collection/images/trans.png\" width=\"10\" height=\"10\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"/extensions/Collection/images/trans.png\" width=\"10\" height=\"10\" alt=\"\" />\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</noscript>\n\t\t\t\t\t\t\t<img src=\"/extensions/Collection/images/trans.png\" width=\"10\" height=\"10\" alt=\"\" />\n\t\t\t\t\t\t\t<strong class=\"title sortableitem\" style=\"margin-left: 0.2em;\">Test</strong>\n\t\t\t\t\t\t\t<a class=\"makeVisible\" style=\"display:none\" onclick=\"return coll_rename_chapter(0, "Test")\" href=\"javascript:void(0)\">[Rename]</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t</ul>\n\n\t\t</div>\n\n\t\t",
"collection": {
"title": "",
"subtitle": "",
"settings": [],
"items": [
{
"type": "chapter",
"title": "Test"
}
],
"timestamp": "20241124231434"
}
}
}