[00:02:05] New patchset: MarkAHershberger; "Bug 40290 - SMW doesn't work with MW installer" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/23991 [00:51:23] New review: Jeroen De Dauw; "Can you explain what the issue was and how this fixes it?" [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/23991 [02:10:18] voldial - well, yes, malicious users can run lots of queries and potentially overload the database. [02:10:54] With SPARQL queries, though, there's much less of a risk, because even if they overload the triplestore, it won't affect the MediaWiki database. [02:23:40] New review: MarkAHershberger; "I only saw this happen SMW was in the extensions directory at during the initial installation -- I w..." [mediawiki/extensions/SemanticMediaWiki] (master) C: 0; - https://gerrit.wikimedia.org/r/23991 [02:29:16] New review: MarkAHershberger; "Oh, what the issue was." [mediawiki/extensions/SemanticMediaWiki] (master) C: 0; - https://gerrit.wikimedia.org/r/23991 [03:40:32] New review: Nischayn22; "Inline comments on GoogleMaps specific stuff.." [mediawiki/extensions/SemanticMaps] (master) C: 0; - https://gerrit.wikimedia.org/r/23942 [06:52:47] New review: Netbrain; "what you could do is put the code that is common to both projects in a standalone javascript library..." [mediawiki/extensions/SemanticMaps] (master) C: 0; - https://gerrit.wikimedia.org/r/23942 [10:49:59] New review: Nischayn22; "The MapEditor JS has the features of "Export to Wiki code", "Import From Wiki code" and few others, ..." [mediawiki/extensions/SemanticMaps] (master) C: 0; - https://gerrit.wikimedia.org/r/23942 [12:25:14] New review: Netbrain; "The code looks ok, personally i would have tried to create a library out of the map editor, and then..." [mediawiki/extensions/SemanticMaps] (master) C: 0; - https://gerrit.wikimedia.org/r/23942 [12:35:14] New review: Jeroen De Dauw; "Sorry, I still don't see why you'd get an error. Presumably the installer is loading SemanticMediaWi..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/23991 [12:59:40] New review: Markus Kroetzsch; "The main problem with this change is that it exports a geographic coordinate as a string. I believe ..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/22045 [13:30:27] New review: Markus Kroetzsch; "Finally I have reviewed this code. I hope you still know what this was all about ;-)" [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/19378 [13:41:55] New review: Jeroen De Dauw; "I don't have a problem with the code itself but with the maintenance implications. Both duplication ..." [mediawiki/extensions/SemanticMaps] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/23942 [16:03:07] having trouble with a template expansion. [16:06:54] figuring it out, I think. [16:09:50] ok, I'm stuck [16:09:53] {{#vardefine:pyver|{{#show: {{{1}}} |?Uses Python}} }} [16:10:15] that is in a template. In theory, {{{1}}} should be a page name... [16:10:21] let me see if I'm doing that right. [16:11:31] in template expansion, on the page, I am getting the little yellow warning symbol, which when clicked says: [16:11:47] The symbol "[[" was used in a place where it is not useful. [16:11:47] The part "]]" of the query was not understood. [16:11:48] Results might not be as expected. [16:14:46] it works when I insert a manual value for {{{1}}}, but not when processed via {#arraymaptemplate: } (how I am calling it now) [16:26:09] the strange thing is that if I put a "download for: {{{1}}}" - that expands correctly. [16:26:19] to the delimited part. [16:27:03] and using this also works: {{#vardefine:pyver|{{#show: Zenoss Core 4.2.x |?Uses Python}} }} [16:27:09] (when I hard-code the value) [16:27:32] but if {{{1}}} = "Zenoss Core 4.2.x", and I use the {{{1}}} in the vardefine, it does not work. [16:27:44] in the vardefine/show [16:30:37] what is interesting is that with an #ifeq:, I am testing if {{{1}}} equals an expected value "Zenoss Core 4.2.x", and I keep getting a "no". But I should be getting a match. [16:31:09] what I am concluding is that #arraymaptemplate isn't passing a literal string "Zenoss Core 4.2.x" to the template, but something like [[Zenoss Core 4.2.x]] ? [16:35:44] I may need to use the arrays extension [17:01:55] wow, changing property type from Page to String on that property seems to make it work, at least with Array extension. I figure that was the issue. [17:02:18] {{#arraymaptemplate: }} has unexpected behavior with property type Page [17:31:58] solved taht [17:32:00] that [17:32:05] question about semantic forms. [17:32:38] I want to allow selection of multiple values from a category, but not in the standard way. Thinking about checkboxes. Is this supported for list-types? [17:33:40] I think I want "checkboxes" type. [17:37:46] ? [17:37:52] doesn't seem to work in sub-forms. [17:41:44] anyone awake? [17:44:38] got it working, forgot input type= prefix to field [20:36:31] I am very familiar with SMW and have used it on a few sites... I just created a new install with SMW 1.7.1 and MW 1.19.1-1 (also have SemanticForms and SemanticDrilldown installed) and I cant get class="wikitable sortable" to work. If i paste in any example from: http://en.wikipedia.org/wiki/Help:Table#Sorting the table appears but there is no little black "sort col" icons next to the header names... same with the collapsible class, the table [20:36:31] appears, but no link to collapse... since the table sorting isnt even a SMW thing I might be asking in the wrong spot... in the end I am making a SMW table, but since the basic examples are not working... any ideas? [21:01:24] voldial - yes, #mediawiki is the better place to ask this question - but it looks like you've already asked there. [21:34:18] New review: Yaron Koren; "Verifying and approving." [mediawiki/extensions/SemanticForms] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/23769 [21:34:18] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/23769 [21:38:55] New patchset: Yaron Koren; "Changed check from count() to empty(), for better performance" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/24081 [21:42:17] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/24081 [23:14:53] Yaron, thanks! marktraceur helped me out and we traced the problem to differences in resources/jquery for the debian install. Copying from the raw 1.19.1 tar fixed it. Now I have sorting... but I would like to sort col's that are "Quantity" property type.. and they are sorting like the values are strings... I am sure this is a well known issue... [23:15:46] Ah, maybe, yes... I've heard of problems where numbers are sometimes sorted as strings. [23:17:46] Yaron, on my other wiki that's public I have the same issue... it's not sorting the col by the actual base value... looking around with google I dont see a direct solution... I can work around it by not using conversions... [23:18:20] I don't know... this again is a MediaWiki, as opposed to an SMW, issue, no? [23:18:20] I'll just ener everything in picofarads ;-) [23:18:29] There you go. :) [23:19:20] I assume this is a SMW issue since it's only a problem with properties that are type quantity (and I have [[Corresponds to::) [23:19:37] but it might not be SMW's problem at all... sounds like u think it's a MW issue [23:19:53] * voldial defers to the experts [23:20:01] Well, the "sortable" sorting thing is just MediaWiki Javascript. [23:20:37] ok, can I format the #ask to return the results in a particular unit? [23:21:06] right now it returns them as they are entered (farads, picofarads etc) [23:21:08] Oh - that I don't know; I don't know much about the quanitity stuff. [23:21:32] Maybe someone else does, though... [23:21:43] 10-4 no prob. thanks for all the great code. I'll keep looking around or just work around. [23:22:35] Cool.