Thanks to everyone who contributed advice about disabling the API, and the security implications of trying to hide certain MediaWiki features (special pages, RSS, page history, etc.).
For anyone interested, the site is up at https://how-emotions-are-made.com.
I notice that when the MediaWiki API is disabled (with $wgEnableAPI = false), this also disables auto-suggestions in the search box.
Assuming this is intentional... what's the friendliest way to forbid general web access to the API but still allow search suggestions to appear? I considered using the hook 'ApiBeforeMain' to return false unless action=opensearch. Is that the most reliable/friendly solution?
This is MediaWiki 1.28.0 with the default search engine, on an Ubuntu 16.04LTS host.
Thank you very much,
Hi Mediawiki-api mailing listers!
I'm trying to extract the full list of references for different revisions
of Wikipedia pages. This seemed like it would be easy enough with
"prop=references", but I keep getting the following error:
"info": "Cite extension reference storage is not enabled.",
"*": "See https://en.wikipedia.org/w/api.php for API usage."
Even the example on the API's documentation page returns this error
Why does this occur? And is there no way of getting references through the API?