Thread:Help talk:$smwgNamespacesWithSemanticLinks/Can't activate smw on custom namespace

Hi, I have created a 'Bibliography' namespace, using the usual Mediawiki procedure. This is what I added in LocalSettings.php:

define("NS_BIBLIOGRAPHY", 3000); define("NS_BIBLIOGRAPHY_TALK", 3001); $wgExtraNamespaces[NS_BIBLIOGRAPHY] = "Bibliography"; $wgExtraNamespaces[NS_BIBLIOGRAPHY_TALK] = "Bibliography_talk";

The new namespace was successfully created. Then I activated smw on the new namespace, using:

When I run the update script I have this php message

The line is that one of, so I changed the NS_BIBLIOGRAPHY to 'NS_BIBLIOGRAPHY'. Anyway also after this change, smw doesn't work on the new namespace, even after rebuildData.php. Any ideas? My configuration is the following

MediaWiki	1.31.1 PHP	7.0.32-0ubuntu0.16.04.1 (apache2handler) MySQL	5.7.24-0ubuntu0.16.04.1 ICU	55.1 Elasticsearch	5.6.1 Lua	5.1.5 SMW 3.0

Thanks for any help! Lorenzo