[06:15:13] New patchset: Nischayn22; "[Draft] attempt to refactor shapes in Maps" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/48084 [09:36:24] is there any easy way for renaming a template? I want to rename "Meeting Protocol" to something like "Meeting Protocol old" or "Meeting Protocoll till 2013-02" or something like that and create new templates/forms with the old name. [09:36:50] so in some way I need to alter the wiki source of all the old protocols to use the renamed template [14:11:33] New patchset: Mwjames; "Add ResourceLoaderGetConfigVars" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/48123 [14:12:12] can I get a sum over values set in subobjects? I am not quite sure about the syntax [14:15:37] New patchset: Mwjames; "smw.Api.query.toString() add some sanity checks" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/48124 [14:26:51] New patchset: Mwjames; "Add ResourceLoaderGetConfigVars" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/48123 [14:41:23] New patchset: Mwjames; "smw.Api.query.toString() add some sanity checks" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/48124 [15:13:48] New review: Jeroen De Dauw; "Suggestion: A Query is a data object not specific to the API, therefore placing it in API NS is a bi..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 2; - https://gerrit.wikimedia.org/r/48124 [15:13:57] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/48124 [16:18:05] Is anyone here familiar with the arraymap parser function that comes with Semantic Forms [16:18:19] I recently upgraded to a new version and it started breaking on me [16:18:41] In particular, I have a doubly nested template that uses it and it looks like this: {{#arraymap:{{{2}}}|,|xvarx|
  • [[category/{{{1}}}/xvarx|xvarx]]
  • |\n}} [16:20:19] It used to generate a link, it is now generating square brackets as such: [[category/Use/Use|Use]] [16:33:59] well, that looks as if the value of xvarx were "Use" [17:48:54] can I get a sum over values set in subobjects? I am not quite sure about the syntax [17:56:29] New patchset: Nischayn22; "[Draft] attempt to refactor shapes in Maps" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/48084 [18:11:09] sven^: yes, use "format=sum". [18:13:15] oh, I mean like from outside the subobject. I have some pages in [[category:foo]] and each of them has like 2 or 3 subobjects. Now I want to #ask: [[category:foo]]... ?SubobjectsProperty | format=sum [18:17:16] sven^: instead of "[[category:foo]]", maybe you could do "[[SubobjectsProperty::+]]". [18:18:58] well, ok... that works. But what if the property name isn't unique? [18:19:57] I mean like a phone number. [[Category:Friend]] ... ?Subobject#phonenumber isn't the same as [[Category:Company]].. [18:20:06] Well, ideally you can add something to the #subobject call to make those subobjects unique. [18:21:00] The subobjects are unique. It's like this: Termin283385#Pickers [18:21:21] but I set a value, let's call it "genericnumber" in those subobjects [18:21:49] and now I only want to sum up the "genericnumber"s found in subobjects of [[Category:Termin]] [18:21:53] is that even possible? [18:22:22] Yes, of course the names are unique. But I'm saying, have some property, or property-value combination, that's unique to those subojbects. [18:23:14] ok, so you mean I should use something like "Termin-genericnumber" for properties in the subobjects of pages in category Termin? [18:23:45] That's one idea. [18:24:00] Or just "|Belongs to Termin=yes" or something. [18:24:16] eeks, but wait... Nah, that won't work. The Termin pages have a date [18:25:12] Oh, actually - you don't even need to do that. [18:25:13] I am not only #asking for [[Category:Termin]] but also [[Date::>foo]] [[Data:: Alright. [18:25:45] and assigning the date to the subobjects aswell would be possible but feels like another hack [18:25:48] So do something like "[[Belongs to page::[[Category:Termin]] [[Date::>foo]] [[Data::]]". [18:26:44] and then [[genericnumber::+]] ? [18:26:52] ah, no. I can skip that [18:27:29] Yeah. [18:30:52] ok, that's empty... [18:31:03] I need to do some shopping... I'll try again later [18:35:25] Oh, actually - in place of "Belongs to page", you should have "-Has subobject". [18:35:30] With the dash. [18:37:19] Too much snow outside ;) [18:37:22] wow, thanks a lot [18:37:23] that works [18:38:12] Cool. [18:38:43] Hey, who needs shopping when you can do SMW stuff. [18:38:55] for 10 hours now... ;) [18:40:22] Wow, okay. [18:44:44] I realized that most of the time I make cosmetic changes... creating or altering queries is just a small part [19:49:15] New patchset: Hypergrove; "test for commandline environment before loading resources" [mediawiki/extensions/SemanticComments] (master) - https://gerrit.wikimedia.org/r/48155