I get the following error:
Notice: Undefined variable: namespaceInfo in public_html/extensions/NamespaceRelations/src/NamespaceRelations.php on line 189 Notice: Undefined variable: namespaceInfo in public_html/extensions/NamespaceRelations/src/NamespaceRelations.php on line 189 MediaWiki internal error. Original exception: [25ba14d4dd4845ccb325183c] /index.php?title=whatever)&action=edit&redlink=1 Error: Call to a member function getTalk() on null
I have defined the required namespace and its talk namespace as follows:
// Define additional namespaces. define("NS_ID", 20002); define("NS_ID_TALK", 20003); $wgExtraNamespaces[NS_ID] = "id"; $wgExtraNamespaces[NS_ID_TALK] = "id_talk";