OpenTechStrategies / SimpleBook

A fork of the Collection Extension to print books from MediaWiki instances
1 stars 1 forks source link

Pass site name and script path #17

Closed slifty closed 3 years ago

slifty commented 3 years ago

We need to make sure that the node application have access to not just the path being rendered, but the wgServer + wgScriptPath (or possibly just the ScriptPath) need to be passed so that we can properly build API calls correctly regardless of the details of a calling mediawiki setup.

slifty commented 3 years ago

This isn't needed any more, since the API url is now deduced from the wiki URL.