When running mwoffliner, you can specify the --mwUrl=http://whatever, but the script then assumes the wiki is located at http://whatever/wiki and the API is available at http://whatever/w/api.php.
However these are both completely dependent on your Apache/wiki setup.
I propose to add following option arguments:
--mwWikiPath=/wiki/ and --mwApiPath=/w/api.php
Ticket moved from /p/kiwix/bugs/806/
Implemented in git master head.