It's now optional, see https://gerrit.wikimedia.org/r/#/c/44620/
Can you update the docs? :)
Yep, thank you for the info. I will update as soon as SMW 1.9 is out. Hmm, that was the best part of it. No only just invoking SMW but also enabling semantics. It was like a tiny celebration during setup. I will miss it. ;)
You will still be able to call it. We can't get rid of it in the next 10000 years or so anyway, so no point in even deprecating it :)
You can always
function inizializeAllTheSemanticAwesome() { // include statement here // enable semantics here // more semantic includes here } inizializeAllTheSemanticAwesome();
Due to changes in how SMW is installed and initialized (now using Composer), enableSemantics() will still be used to ensure that NS related settings in LocalSettings still work the same as prior to SMW 1.9+Composer. For more information, see [1] and [2].
Pooh, things were indeed getting ugly here. :| I believe this should be included into the "INSTALL.md" before we embed this files content into this wiki. Thank you for keeping me in the loop on this!
James, can you please update the INSTALL.md file? You know best what the deal with the settings invocation is now.
I believe that indeed nothing has really changed except that SMW does not have to be invoked as before and that the $smwgNamespaceIndex parameter has to be set prior to enabling semantics as Daniel stated.