No administration operations (Set page flags, Remove pages, Strip pages, Revert, Check links) can be carried out, the response is always: Course Module ID was incorrect.
I think this is because there is no </form> closing tag in the mod/wiki/*.html files. The admin.php page that just includes the *.html pages at the very end is then supplying wrong id to the form (I think).
What worked in my case was to add the closing </form> tags to all the *.html files. I'm attaching a diff for someone else to implement and commit (if checked and confirmed).