Skip to content

Frequently Asked Questions

Kelson edited this page Mar 8, 2024 · 13 revisions

Command line options

Which value for --mwUrl?

--mwUrl value is the MediaWiki base URL. It should be considered like an URL prefix on which the URL paths (for example --mwWikiPath value) will be appended. Usually the --mwUrl URL is only composed from the protocol scheme and the domain name (for example https://en.wikipedia.org), but if the whole MediaWiki is not available at the root of the host, then you might have to add a path. You can observe the Mediawiki base URL just by loading the main page of the remote MediaWiki instance.

Which value for --mwWikiPath?

--mwWikiPath value is the MediaWiki wiki base URL path. This is the Web browser visible path configured to access any article; the article ID being appended directly after. Usually this is just /wiki/. You can also put there the index.php end-point path. For example, for Wikipedia in English, you can indifferently configure /wiki/ or /w/index.php. You can observce the Mediawiki base URL just by loading the main page of the remote MediaWiki instance.

Which value for --mwModulePath?

--mwModulePath value is the MediaWiki module load path. Usually the path value here is very similar to the one of --mwActionApiPath as load.php is positioned just beside api.php. You can find it by loading the Special:Version page. For example for Wikipedia in English, this is /w/api.php and you can see it here.

Clone this wiki locally