[09:52:28] (PS1) Shirayuki: Fix double-space [extensions/SemanticPageSeries] - https://gerrit.wikimedia.org/r/96002 [14:42:52] Hello [14:43:07] I am trying to install the SemanticBundle from git [14:43:30] Should I expect it to work on a PostgreSQL backend? [14:44:39] I get errors like: pg_query(): Query failed: ERROR: relation "smw_object_ids" already exists [14:45:11] but the tables are NOT created [14:49:14] I'm on Ubuntu 13.04, php 5.4.9, PG 9.1 [14:53:50] kami: I'm not 100% sure that the version of SMW that comes with the Semantic Bundle works with Postgres... [14:53:56] JeroenDeDauw: do you know? [14:56:19] Yaron: does that mean that you don't test with postgres internally and so, it is not guaranteed to work? [14:58:04] kami: well, I'm not actually a core SMW developer. However, my understanding is that DB-related testing has improved a lot with the upcoming SMW 1.9 - so that has a much better chance of working with Postgres than the current version (that comes with SB), 1.8. [14:58:54] But it's true that relatively few people use SMW (or MediaWiki at all, from my understanding) with PostgreSQL. [15:03:04] Yaron: is the SemanticBundle git something which is updated for 1.9 once SMW 1.9 is released, or is it updated on a continuous basis for the 1.9 branch? [15:06:34] IOW: could I theoretically switch to your development branch and create the bundle from their development versions? [15:08:51] It's updated on a very informal basis - basically whenever Jeroen and I decide to update it. [15:09:04] Yaron: I just found the dev target in the Makefile [15:09:06] I assume that we'll update it again when SMW 1.9 comes out; if not before then. [15:09:13] Yes, I guess you could use that... [15:09:30] Though you might be better off just getting each extension directly. [15:09:34] If I leave out the rm -rf dev/, I have the necessary pieces there [15:09:47] And could have a look at how it behaves [15:09:49] Well, sure, try it out. [15:10:02] How far away is 1.9? [15:20:45] (Abandoned) Mwjames: SMW\Lua add framework to support Scribunto extension [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/56393 (owner: Mwjames) [16:11:15] Yaron: SMW does not work with postgres AFAIK [16:11:21] Still some open issues [16:16:37] JeroenDeDauw: thank you for the info. I found out why the tables are not created in postgresql. [16:17:05] The queries which interrogate the relations tables etc. use c.relname = '"smw_object_ids"' [16:17:22] the double quotes inside the single quotes are the problem [16:17:41] they prevent finding the correct information [16:18:24] I am not a PHP pro, but I could try to fix what I can. [16:18:50] Unless you know of show-stoppers which go beyond such a simple-minded approach. [16:19:15] kami: there are already some submitted fixes [16:19:28] In Gerrit? [16:19:32] https://gerrit.wikimedia.org/r/#/c/91375/ [16:19:35] https://gerrit.wikimedia.org/r/#/c/88459/ [16:20:09] I will fetch them and test [16:20:30] Thank you [16:21:02] Do you use repo at wikimedia? [16:23:40] kami: I do not understand your question [16:23:55] kami: SMW and the other extensions are mainly on the Wikimedia Git repository, although SMW itself is also available on GitHub. [16:24:46] I meant the (very badly named) 'repo' tool which is developed together (alongside) Gerrit [16:25:33] which allows to download a bunch of git repositories at once from a Gerrit instance, sync them, submit changes in multiple projects with one commit message etc. [16:25:48] nm [16:26:27] http://source.android.com/source/developing.html [16:27:31] and http://source.android.com/source/using-repo.html [16:27:38] kami: I am not familiar with this tool, thing it is not used [16:27:50] I see. Thanks. [19:57:27] Hey Yaron, are you still around? [20:59:53] Rosencrantz: hello! Sorry, I was around, but I didn't see this until now. [20:59:58] ...or hear the beep. [21:00:50] ExternalData bug thing. re: https://www.mediawiki.org/wiki/Extension_talk:External_Data#No_return_from_.23get_web_data_with_JSON_arrays_.28multiple_values.29 [21:01:10] (I administer the wiki for the guy who submitted that one) [21:01:15] Right, yeah - I still haven't looked into it. [21:01:16] Oh. [21:01:34] I did some poking around and found out where part of the issue is [21:01:50] Okay, cool. [21:02:15] parseTree isn't storing the first set of keys right [21:03:04] Okay... [21:04:15] well, at all really. It's just leaving them as generic numbered indexes [21:04:30] Alright. [21:05:43] That's as much as I got for the moment. [21:05:47] Just thought I' [21:05:50] I'd let you know [21:06:01] Alright, thanks. [22:12:44] (PS1) Chad: Don't use $wgTitle [extensions/SemanticComments] - https://gerrit.wikimedia.org/r/96157 [22:32:33] Yaron, JeroenDeDauw: I have a working initial setup with PostgreSQL. Small changes were necessary in addition to the two patches JeroenDeDauw pointed me to. [22:33:20] It's late here. I will clean up what I have tomorrow. What is the best way of submitting patches? [22:34:02] NM. I will read the docs tomorrow. Good night.