Module:DataAPIManifest: Difference between revisions

Initial version: emits a JSON manifest of canonical entity-type categories for third-party Data API consumers (via create-page on MediaWiki MCP Server)
 
Fix API_URL: this wiki has $wgScriptPath='' so api.php is at the document root, not under /w/ (via update-page on MediaWiki MCP Server)
 
Line 19: Line 19:
local p = {}
local p = {}


local API_URL  = 'https://wiki.everycrt.com/w/api.php'
-- This wiki is configured with $wgScriptPath = '' and $wgArticlePath = '/wiki/$1',
-- so api.php / rest.php live at the document root and articles at /wiki/PageName.
local API_URL  = 'https://wiki.everycrt.com/api.php'
local BASE_URL = 'https://wiki.everycrt.com'
local BASE_URL = 'https://wiki.everycrt.com'


MediaWiki Appliance - Powered by TurnKey Linux