I want to use the storing features of the JSONConfig extension, but the extension requires a specific namespace of the name "Data" with the specific ID of "486", which with Miraheze I am unable to create namespaces of specific IDs. Would it be possible to have an admin or someone create the namespace for me with the specific ID? The documentation for JSONConfig is at https://www.mediawiki.org/wiki/Extension:JsonConfig
#Custom "Data" namespace with custom ID needed for uses of JSONConfig extension
22 messages · Page 1 of 1 (latest)
If you don't want to add a specific namespace you can just add
$wgJsonConfigNamespaces[3002] = 'data'; to LocalSettings.php...
What is the link to your wiki?
Per https://github.com/miraheze/mw-config/blob/bdda30f9203459a22f9842dc0f69bbe8f45b348b/GlobalSettings.php#L575, the new namespace should be enabled by default
Sorry, I didn't post it earlier
As far as I'm aware I did not receive a new namespace according to Special:NamespaceInfo
Would uninstalling and reinstalling the extension possibly help to create the namespace?
Hmmm. Have you tried creating a test page and checking its namespace with PageName?action=info?
The namespace simply does not exist and was never created
And I have JSONConfig installed according to Special:Version
I'm not sure what else can be done. Perhaps someone from <@&407534909746577418> knows what's going on?
it seems like JsonConfig would automatically register the namespaces
but all the default json config variables we have are non-local
p sure the fix/actual solution here is to set $wgJsonConfigs to include a local entry for your wiki so that JC adds the namespace and actually uses it
(we can do per-wiki config changes fyi)
That would be nice
@neat needle Sorry to ping you but yeah this would be good if it gets the namespace
please file a task on [[Phorge]], ideally with the change you want to the variable specified ^^;