[12:12:02] is there a non-ugly way to link to special pages with pre-filled form inputs? Right now I am thinking about using a long and UGLY get string [12:16:31] What's wrong with #formlink? [12:21:26] sven^: ^ [12:24:12] it's not a form [12:24:35] or does formlink... sec ;) [12:25:18] nah, that won't work.. I want to link to a special page where a user can input data and generate trees [12:26:14] half of the data is the page name he wants to be the tree's root. So I want to create links on relevant pages using that page as "start" [13:21:53] sven^: that sounds like a question better suited to the #mediawiki channel. [14:09:05] k, thanks [16:05:35] can anyone explain the switch to extensioninstaller/composer? [16:06:24] it's not really easier and you always need to fix permissions after installing stuff [16:54:42] so is ParamProcessor a MW extension? I feel stupid. I just tried upgrading SMW to get rid of all the errors with php 5.4 and now nothing seems to work -.- [16:58:43] adding [16:58:43] { [16:58:43] "require": { [16:58:43] "param-processor/param-processor": "1.0.*" [16:58:43] } [16:58:43] } [16:58:47] didn't do anything [16:59:05] yet Validator fails since there seems to be no paramprocessor library installed [17:00:36] sven^: it should not be necessary to add that. Just add smw. [17:02:10] doesn't work. MW version is 1.21.x [17:02:40] I will start over. Again. [17:03:16] Try one of the tar balls, I guess [17:03:45] I still don't get why someone thought it would be a good idea to use some json crap to install extensions instead of extracting a tarball... -.- [17:04:09] pulling in more and more dependencies to something that is so simple is just a bad choice. [17:05:10] Yes. Adding all the dependencies over and over again with each extension is clearly preferable. [17:05:38] Never mind keeping track of versions [17:06:41] well, it just switched from 10 mins of work every _major_ MW update to 2 hours of debugging a non working "installer script" [17:09:15] and when you read the talk page, you realize I am not the only one with these problems... [17:12:17] is composer supposed to change my LocalSettings.php ? [17:12:17] I think there is an extension available to facilitate installation on 1.22 [17:12:23] No [17:12:33] so I have to enable SMW by hand then? [17:12:53] I guess so [17:13:02] there is nothing in the installation manual about that. [17:13:10] do I need to activate Validator aswell? [17:13:26] JeroenDeDauw: ^^ [17:14:19] so if I follow the instruction manual, I have no SMW, if I add it by hand, it doesn't work. [17:15:35] sven^: I don't think so. And activating smw should only involve enableSemantics. No require or include [17:17:28] PHP Fatal error: Call to undefined function enableSemantics() in /var/www/html/LocalSettings.php [17:17:39] I am here: http://www.semantic-mediawiki.org/w/index.php?title=Help:Installation#Installation [17:17:47] I did it 3 times now from scratch [17:23:28] So is smw installed in the .../extensions dir? [17:23:37] there is a folder [17:23:49] with wrong permissions [17:23:51] but I fixed that. [17:24:03] also there is a Validator folder [17:24:08] also with wrong permissions [17:24:11] I fixed that aswell [17:24:28] when I do nothing else, I just don't have those extensions and everything stops working [17:24:40] (since other extensions depend on smw) [17:25:33] when I add Validator to my LocalSettings.php, it doesn't work with the exact same message others seemed to have before me (See Talk:Validator) [17:25:56] so I tried to install ParamProcessor [17:26:02] but I guess I failed at that so far [17:26:20] when adding it to the composer.json in the ExtensionInstaller directory, it doesn't do anything [17:26:46] when I use the composer.json in the Validator directory that already includes it, it "installs" something [17:26:55] yet it's still not working [17:27:42] sven^: have you called "composer update"? [17:27:45] yes. [17:27:50] Cool. [17:27:54] after changing the composer.json I have to do that [17:27:58] to update the lock file [17:28:24] And the composer.json file is in the main MediaWiki directory, not the SMW directory, right? [17:28:56] the composer.json is in the ExtensionInstaller directory as stated in the manual. [17:29:11] Oh... I think that's incorrect. [17:29:20] What's ExtensionInstaller? An extension? [17:29:29] Add the following line to the "require" section of the "composer.json" file in the …/extensions/ExtensionInstaller/ directory.[6] [17:29:29] "mediawiki/semantic-media-wiki": "~1.9" [17:29:35] http://www.semantic-mediawiki.org/w/index.php?title=Help:Installation#Installation [17:29:37] ... [17:30:04] Oh, I see, you're using MW 1.21 or lower. [17:30:12] 1.21.2 [17:30:49] I don't know, then - you may have found an actual problem; it could be that the SMW installation has been tested better on MW 1.22. [17:30:49] And before you ran composer you uninstalled smw, validator, paramprocessor and all the data...something extensions and removed them from localSettings? [17:31:03] on my last try I did that, yes, FoxT [17:31:22] next step would be to remove Mediawiki completly and reinstall [17:31:50] JeroenDeDauw: are you there? Maybe you can help here. [17:33:16] .. and all because those php morons removed functionality in php 5.4 ;) [17:38:07] I'll tell my boss that mediawiki is a mess and go home now... [17:38:08] bye [22:05:09] sven^: just follow https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/INSTALL.md#composer-installation These steps do work [22:05:22] https://semantic-mediawiki.org/wiki/Help:Installation#Video_tutorial [22:15:57] JeroenDeDauw: Do you know of any standard way of using composer for JS libraries? Or CSS/LESS for that matter? [22:30:15] JeroenDeDauw: the _only_ difference between what I did and that doc is, that I put the require ... in the composer.json instead of using it on commandline. [22:30:25] JeroenDeDauw: you read that I am using mw 1.21.2? [22:31:14] JeroenDeDauw: I will try that first thing tomorrow, but I am pretty sure that it will not work [23:12:52] sven^: you can put it in composer.json, though then you need to run composer update [23:13:06] did that [23:13:10] sven^: 1.21.x needs the extension installer IIRC [23:13:12] that's why I think it won't work [23:13:17] yeah, I installed it [23:13:36] sven^: and you installed the rest into the extension installer? [23:13:49] well, I "think" the above doc is exactly what I did apart from the composer.json thing [23:13:55] that's why I think it won't work [23:14:03] yes [23:14:09] I will start over tomorrow morning [23:14:14] using that doc you posted [23:14:19] maybe I am lucky [23:14:27] if not, I will just reinstall mediawiki [23:14:55] but if I didn't depent on MW/SMW I would have tossed that thing in a corner by now... [23:16:07] sven^: no need to reinstall MW - if you want to nuke the composer install, just delete the vendor/ dir [23:16:18] did that aswell. [23:16:25] after my second try this afternoon [23:16:44] I don't have access to the machine from here [23:16:50] I'll try again in 9 hours