[01:31:05] New patchset: Himeshi; "Semantic Forms: Display error message when Special:EditForm accessed by itself" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/62407 [03:58:49] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/62407 [04:00:10] yaron: Why is {{#arraymap:}} in Semantic Forms? Seems like a random place for it. [04:00:44] Havvy: that's true. It's there because nothing else provided it, when SF needed it. [04:01:24] It'd be nice to have it pushed into ParserFunctions. [04:02:09] Yeah, I thought about that early on... I didn't want to deal with all the bureaucracy around ParserFunctions. [04:02:21] What about now? [04:02:33] Haven't thought about it recently. :) [04:02:45] Why would it be nice, by the way, other than simply the fact that it's a string-manipulation function? [04:04:34] It's kind of embarassing asking for this huge forms thing when all you want is arraymap [04:04:58] Well, that's really my question - are there uses for #arraymap other than with the combination of SMW, templates and forms? [04:05:13] Lots. [04:05:40] Could you... give an example? [04:05:47] The DnD-Wiki uses {{#arraymap:}} extensively. [04:05:55] But we don't use Forms. [04:06:00] We do use SMW sometimes. [04:06:15] s/sometimes/everywhere/ [04:06:29] Okay... [04:06:42] http://www.dnd-wiki.org/w/index.php?title=Template:3.5e_Spell&action=edit [04:06:57] {{#arraymap: {{{comp}}}|, |x|{{#arraymap: x|; |z|[[Component::z]]|; }}}} [04:07:26] Fine - so for the combination of SMW and templates. [04:07:38] You just don't use forms. [04:08:08] Yes. [04:08:17] Why don't you use forms, by the way? [04:09:14] We found it easier to edit preloaded text that doesn't obscure things. [04:09:35] (Oh man - I just realized you pasted an embedded #arraymap call, so you have a two-dimensional array - you might be better of using #subobject with that.) [04:09:41] (better off) [04:10:17] #subobject: ? [04:10:23] Yes - it's part of SMW. [04:11:05] With the #arraymap thing - part of the issue was that it wasn't clear what the best place to put it was - there's ParserFunctions/StringFunctions, but there's also SMW itself, and the Arrays extension. [04:11:21] There's definitely argument for making it part of SMW. [04:11:25] (an argument) [04:12:06] I mean, not everyone has ParserFunctions installed either. [04:12:37] I thought ParserFunctions was pre-installed. [04:12:53] Only if you download MediaWiki as a tarball. [04:13:28] Plus, even if they have the code for it, it might not be actually installed. [04:17:46] Unrelated, if you have a Property: with [[Has type::Page]], is there a way to restrict the values to a certain category? [04:19:50] Not without forms - although it would be a useful addition. [04:20:24] I attempted doing so: http://www.irc-wiki.org/index.php?title=Property:Service [04:20:52] And http://www.irc-wiki.org/index.php?title=Template:ForEachPage&action=edit [04:21:33] Although I am now realizing that I'm taking a query, turning it into a list, and iterating over that list...when I could just pass it a template... [09:38:44] hi JeroenDeDauw [09:38:57] which version of SB shipped with SMW 1.7? [09:39:13] I've been browsing the source code, and unfortunately, I don't see any tags or branches [09:39:27] or any release notes or change log... [09:59:05] JeroenDeDauw: I see this in the logs: [09:59:17] commit e5935f3b7138736dca3d30b14e0a3dba59c530c4 [09:59:17] Author: jeroendedauw [09:59:17] Date: Tue Feb 19 22:59:00 2013 +0100 [09:59:17] smw and srf to 1.8.x branch [09:59:17] Change-Id: I6ddc2fdfa348c9a163510eb3b1a368f13d969fc0 [10:01:59] heh... seems Yaron made the change with a commit message titled "Fixed to work with Git" [10:02:21] so ... sigh... I can't roll back with git [10:02:39] this would be easier with tagged releasess [10:03:39] bie [11:17:36] anyone got a handly list of smw tables to drop? [11:18:05] smw_* [11:18:07] ? [11:23:27] I'm just looking for a file with a list, but cant find anything [11:49:43] New review: Nikerabbit; "(1 comment)" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/62407 [12:40:42] New review: Jeroen De Dauw; "(1 comment)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/61179 [12:41:38] dbolser: just use the latest sb [12:41:44] though change the externals file [12:41:55] That determines which versions of the extensions get fetched [12:41:59] hmm [12:42:06] Though perhaps they do not all have tags [12:42:07] damn [12:42:11] Ok, not going to work [12:56:02] JeroenDeDauw: hi [12:56:16] I've been working on this all day, and getting increasing tied in knots... [12:56:41] lack of tags in externals file is a pain... because of the way it works in git you could just put commit ID's there when tags are missing? [12:56:47] s/you/me/ [12:57:55] Currently Ive gone back to the old SB, but there are still problems on php 5.2 :( [12:58:01] specifically with validator [12:58:14] and also SRF seems to have problems [12:59:05] * dbolser thinks about breathing into a paper bag [13:07:16] JeroenDeDauw: which version of vlaidator works on php52? [13:14:49] JeroenDeDauw: and can we tag it? [15:16:44] Hello! Is it still possible to have multi-valued properties? [15:16:57] I'm finding some stuff online, but it seems to be quite outdated [15:17:04] Like around 1.0 and so on [19:42:12] Hi JeroenDeDauw... I don't suppose you know which commit ended the 1.7.1 branch? [19:42:22] it was pre-git times? [21:14:03] Hello, i'm having a problem with my newly installed semantic mediawiki [21:14:53] I would like to use the semantic calendar, but i get an error: "{{#calendarenddate:}}" cannot be used as a page name in this wiki [21:15:45] i'm trying to replicate this: https://labitat.dk/wiki/Template:Calendar setup on a different (and closed) installation, any ideas? [21:55:54] Riiiis: at what point do you get that error? [21:58:11] yaron: When i go to the page Template:Calendar I get a small warning icon with that text as a mouseover [21:59:17] the Template:Calendar page contains this: http://pastebin.com/ZUJi33xV [21:59:47] Right, okay. I think the issue is that you also need to install the Semantic Result Formats extension. [22:00:02] ohh might be [22:09:16] JeroenDeDauw: I've summarised http://mapping.referata.com/wiki/Maps here http://semantic-mediawiki.org/wiki/Maps [22:09:51] I've tried to simplify the structure of the documentation as much as possible, and I haven't imported instances of the class 'mapping service', because that's too much of a pain [22:10:02] I've also written a short 'kick start' section [22:11:03] yaron: this could be a good spot to document clutering: http://semantic-mediawiki.org/wiki/Maps/Displaying_maps [22:11:14] yaron: thanks a lot! It works now :-) [22:11:21] Cool! [22:11:42] dbolser: yes, sure - feel free to do it yourself. [22:11:45] JeroenDeDauw: I've done my best to integrate content from http://mapping.referata.com into http://semantic-mediawiki.org, but I'm sure I will have made errors and ommisions [22:11:51] yaron: I'm on to something else just now :-) [22:11:59] In general, I think the Maps/SM documentation could use some work. [22:12:01] tired of docwork [22:12:01] Oh well. :) [22:12:09] yaron: that's what I've been doing [22:12:13] who likes docwork?? [22:12:19] meeee! [22:12:28] well... put it this way... I hate crappy docs ;-) [22:12:33] then i love you! :-) [22:12:37] kinda [22:12:40] * dbolser accepts bitcoin [22:12:44] oh [22:12:46] * Riiiis has none [22:12:52] GET MINING! [22:13:08] Oh, I see! Looks good! [22:13:22] gah.. a couple more pages to import... [22:14:33] ... nm [22:14:42] It's definitely looking a lot better. [22:14:45] they are too complex / embedded in http://mapping.referata.com [22:26:03] JeroenDeDauw: PHP 5.2, MW 1.7, Validator 0.4... Is Maps 1.0.5 safe? [22:26:58] http://mapping.referata.com/wiki/Template:Maps_1.0.5_dependencies :D [22:28:33] yaron: hmm could you maybe give me a bit more advice [22:28:49] On what? [22:28:56] i'm trying to add something to the calendar now.. but it doesn't appear [22:29:21] You might need to hit the "refresh" tab in the wiki page, if you see it there. [22:29:51] yeah, and i've copied a "clear cache" template that was on my donor page too [22:29:55] doesn't help [22:30:05] Oh... I dind't know there was such a thing. [22:30:14] https://labitat.dk/wiki/Calendar [22:30:27] Well, either the data was added incorrectly, or the query is somehow incorrect. [22:39:36] JeroenDeDauw: what's the default geocoder? [23:10:18] New patchset: Mwjames; "Add smw.dataItem.wikiPage.getText()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/62536