After looking at this post and trying various fragments of our URL, I realized I just needed to use http://mydomain/wiki
as the base URL.
More generally, it appears that the first word (between the first and second /
after the URL) after the domain needs to appended to the domain given to the --server
option, although this does not appear to be documented anywhere.