Support non-default script path
lucaswerkmeister opened this issue · 2 comments
lucaswerkmeister commented
Currently, the library assumes that the action API endpoint is found under /w/api.php
, i.e. that the script path is /w
:
wikibase-sdk/lib/wikibase-sdk.js
Lines 26 to 30 in d04dc7c
This is not true for all wikis, and I think the library would be more universally useful if it supported other wiki setups as well. (For instance, I have several development wikis locally, with script paths /wiki1
, /wiki2
, etc.)
lucaswerkmeister commented
Also: