Hello. In several wikis (for example), the Spanish Wikipedia Extract template is being used. The template through modules, makes a "call" to the page Data:I18n/Module:Excerpt.tab that is hosted on Wikimedia Commons. And because there is no configuration, the following error appears constantly: Lua error in Module:TNT on line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Module:Excerpt.tab.
I'm not sure how I can fix this and in what way. Especially the first configuration.
$wgJsonConfigModels['Tabular.JsonConfig'] = 'JsonConfig\JCTabularContent'; $wgJsonConfigs['Tabular.JsonConfig'] = array( 'namespace' => 486, // === NS_DATA, but the constant is not defined yet 'nsName' => 'Data', 'isLocal' => false, 'pattern' => '/.\.tab$/' ); $wgJsonConfigs['Tabular.JsonConfig']['store'] = true; $wgJsonConfigs['Tabular.JsonConfig']['remote'] = 'https://commons.wikimedia.org/w/api.php';