Topic on Talk:Semantic Bundle

Removing Semantic Bundle

3
JeremiPlazas (talkcontribs)

Hi Yaron,

Thanks for all the hard work on this. I was wondering what the correct process would be to remove SB and go back to installing extensions one at a time, using Composer when possible?

Thanks so much.

Yaron Koren (talkcontribs)

Just comment out, or remove, the relevant line in LocalSettings.php.

JeremiPlazas (talkcontribs)

Hey Yaron, back to this thread.

I've been trying to remove the Semantic Bundle settings, transfering all the extensions call onto the LocalSettings.php file. And it all works out except for one setting that I can't comment out without breaking the wiki.

$classMap = require_once( "$IP/extensions/SemanticBundle/SB_AutoloadClassmap.php" );

foreach ( $classMap as $className => $fileName ) {

$wgAutoloadClasses[$className] = $fileName;

}

This was originally in the SemanticBundleSettings.php file. But somehow without it, the wiki breaks. Currently I moved it to the LocalSettings file so I could comment out the call for the SemanticBundleSettings.php all together, but this setting is still calling a SemanticBundle file, which I'm not finding a way around.

Do you know anything about it?

Reply to "Removing Semantic Bundle"