Help:Installation/Troubleshooting/Use of undefined constant

Notice&#58; Use of undefined constant …

This kind of message appears because SMW namespace constants (,  and  ) are delayed due to the parameter   being a prerequisite and its initialization has to happen first it can be processed. To resolve this you have to add  prior to any parameter (e.g. $wgContentNamespaces, $wgNamespacesToBeSearchedDefault and $wgNamespaceProtection) making reference to these namespace constants. In case you choose to manually set  to something other than the default value of , you must do this above the enableSemantics call.