[02:59:35] (PS2) Yaron Koren: PHP7: fix warning "Parameter must be an array or an object that implements Countable" [extensions/PageForms] - https://gerrit.wikimedia.org/r/441637 (owner: Edward Chernenko) [03:18:00] (CR) Yaron Koren: [C: 2] PHP7: fix warning "Parameter must be an array or an object that implements Countable" [extensions/PageForms] - https://gerrit.wikimedia.org/r/441637 (owner: Edward Chernenko) [03:24:27] (Merged) jenkins-bot: PHP7: fix warning "Parameter must be an array or an object that implements Countable" [extensions/PageForms] - https://gerrit.wikimedia.org/r/441637 (owner: Edward Chernenko) [03:25:41] (CR) jenkins-bot: PHP7: fix warning "Parameter must be an array or an object that implements Countable" [extensions/PageForms] - https://gerrit.wikimedia.org/r/441637 (owner: Edward Chernenko) [06:19:10] [SemanticExtraSpecialProperties] translatewiki pushed 1 new commit to master: https://git.io/f493Q [06:19:10] SemanticExtraSpecialProperties/master 0aaff24 translatewiki.net: Localisation updates from https://translatewiki.net. [11:24:24] (PS1) Edward Chernenko: PHP7: fix warning "Parameter must be an array or an object that implements Countable" [extensions/PageForms] (REL1_31) - https://gerrit.wikimedia.org/r/441829 [19:57:42] Hi all. Is there a clean process (e.g. script) for UNinstalling SMW from a wiki, i.e. removing any and all database tables? Or would it just have to be done by hand? [20:00:57] justinl: I am not aware of any uninstalling script [20:02:15] I haven't seen one and can't find so far any references to uninstallation/removal in the SMW site/docs. [20:02:56] Basically some of our main editors are reporting a "MediaWiki:Smw-semantics-not-enabled Semantic MediaWiki functionality was not enabled for this wiki. " message due to an interwiki conflict with the "self:" keyword. [20:03:30] This wiki doesn't use SMW but I'd added it to composer.json and the extensions directory (multiple Semantic extensions) and now that's causing the conflict. Trying to figure out the best way to remove SMW from the one wiki. [20:05:26] So I just need to come up with a safe way of cleaning up SMW tables from the database, aside from cleaning out the vendor/composer/installed.json and related stuff. [20:07:50] justinl: I don't know the self keyword. Basically SMW autoactivates as soon as it is installed using composer. Solution would be to just uninstall it. The tables should not be critical. [20:09:06] Or you could activate it all the way using enableSemantics() in LocalSettings [20:09:20] Removing the Semantic* directories from extensions/ breaks stuff since it tries to load from the vendor/composer/installed.json [20:09:38] yes, you need to use composer to uninstall it. [20:10:12] Hmm, I guess that is an alternative that I can discuss with the editors, to ensure that it doesn't have any other implications. [20:10:26] if you added it to composer.json, calling "composer remove mediawiki/semantic-media-wiki" should do the trick [20:10:44] I'll try that in my dev environment, thanks! [20:10:50] yw [20:38:13] FoxT: composer remove doesn't seem to respect the extra:merge-plugin:include:composer.local.json entry in composer.json so it's not finding the require block in composer.local.json; is there a way to tell it to do so or will I just need to hack in the lines from the local file to the main one? [20:41:13] justinl: Yeah, that's why I talked about composer.json. In the case of composer.local.json you need to remove SMW (and everything that depends on it) from composer.local.json by hand and then run composer update mediawiki/semantic-media-wiki [20:42:56] Ah gotcha. I assumed it would pick up on the include. I have other semantic-related stuff like semantic-result-formats and validator, so I presume it'll be the same for those, plus Semantic Drilldown which isn't installed via composer. [20:46:14] justinl: Yes, Youĺl have to remove those from the json as well, otherwiser SMW will be pulled right back in. Semantic Drilldown should be fine for what concerns composer, but you may have to clean up LocalSettings [20:47:34] Ok, thanks. LocalSettings is fine since nothing was ever loaded there for SMW. Just need it to stop autoloading. :)