This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the
issue tracker at Github
Not a bug
FS#2736 API Error in search_allpages()
There is a bug in "search_allpages()" function in the XML-RPC-API:
In the result data, the array-elements of $item are switched, "rev" is written to "mtime" and vice versa.
265 $item['rev'] = filemtime($base.'/'.$file);
266 $item['mtime'] = $item['rev'];
267 $item['size'] = filesize($base.'/'.$file);
269 $item['hash'] = md5(trim(rawWiki($item['id'])));
No that's correct. The revision is a timestamp. For a current page (no old revision) the page's last modified timestamp is the revision. We set it to rev and then copy it to mtime for convenience.