[08:43:08] New patchset: Pastakhov; "corrected the name of the month" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/31370 [08:50:47] Change merged: Nikerabbit; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/31370 [10:35:35] New review: Markus Kroetzsch; "Regarding whitespace changes: my editor is doing this automatically now. Pros and cons, obviously. A..." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/31279 [11:11:37] New patchset: Mwjames; "(Bug 41685) Replace Job::extractBlob() in SMW_SpecialSMWAdmin.php" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/31373 [13:07:50] New review: Nikerabbit; "There is stylize.php in code-utils repo." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/31279 [19:03:24] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/31373 [19:06:40] New review: Yaron Koren; "Merging to make future changes easier (please don't judge me, Git people!)" [mediawiki/extensions/SemanticWatchlist] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/28400 [19:06:40] Change merged: Yaron Koren; [mediawiki/extensions/SemanticWatchlist] (master) - https://gerrit.wikimedia.org/r/28400 [19:38:02] Yaron: do you know of any way to consolidate semantic queries to only display unique values? [19:38:32] for example, I am querying via #ask for all internal subobjects that meet certain criteria, and displaying the main page name. But I don't want to list the main page multiple times. [19:38:45] I have encountered this need to consolidate listings a couple of times. [19:39:07] drobbins - right... there are some result formats that do that, but I don't think there's a way to do that for the general formats like list and table, unfortunately. [19:39:37] Yaron: is there a category-style format that does this? Or know any result formats off-hand that do this? I would be interested to know. [19:40:07] I also have Semantic Result Formats installed. [19:40:11] Well, there's the "category" format, if that's what you mean - I don't think it does unique values, but I don't remember now. [19:40:32] at least by default, it does not. [19:40:48] I imagine that this would be relatively easy to implement. [19:41:39] it looks like valuerank does this. [19:41:49] but probably not good for big lists. [19:42:11] a combo of category and valuerank would be ideal :) [19:42:21] or a valuerank or combine option for category. [19:46:13] Yaron: do you think the approach used by valuerank could be implemented in a category-style listing? I need this so may hack on it [19:46:49] Yaron: having an option "combine" to just list unique items, and then "valuerank" to list items along with a count would be great for category. [19:46:53] drobbins - yeah, I think that could definitely make sense as a parameter for the "category" format. [19:47:02] Why not "unique"? [19:48:43] unique is a good name. [19:48:59] unique and valuerank [19:49:05] Oh... that's interesting. [19:49:21] You mean, category-style display, sorted by number of instances? [20:21:47] Yaron: I figure unique would eliminate duplicates, and valuerank would eliminate duplicates and put a (3), etc. after each like valuerank. Because valuerank is a bit limited in that it just does a list. [20:22:08] some people might want/need to see # of duplicates where others may just want to get rid of them. [20:22:19] Oh, I see. [20:22:35] How about "showcount"? That might be a little clearer. [20:30:20] sure [21:07:52] uh [21:08:03] is it known that preview in semantic forms is broken? [21:12:01] Yaron: ^ [21:12:34] Nikerabbit: I didn't know that, no. [21:13:53] Yaron: also, is it safe to update to latest master? [21:14:11] Yes, I think so. [21:15:31] Nikerabbit: assuming it's still broken with the latest code, what's it doing wrong? [21:19:19] Yaron: goes to action=submit with normal preview and displaying the page source in textarea [21:20:11] Nikerabbit: is there code like
That's needed for the special previewing to occur. [21:20:41] let me check [21:21:12] [21:21:42] New patchset: Markus Kroetzsch; "Updated SMWQueryProcessor API" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/31557 [21:21:56] http://tieteentermipankki.fi/mediawiki/index.php?title=Lomake:K%C3%A4site&action=edit [21:22:13] almost i18ned form btw, only some things not possible [21:22:57] {{{for template}}} doesn't support {{int}} [21:27:37] Nikerabbit - yes, the parsing of contents is very spotty in SF form tags. [21:27:43] It should probably be done everywhere. [21:28:40] That's more of ftrott's domain, though. (He's not here.) [21:33:30] Nikerabbit: I'm looking at the form now with Firebug. [21:37:24] Yaron: let me know if you find something, I'm going to update the code soon [21:37:26] Nikerabbit: hm, I don't know... [21:37:40] Maybe updating will help; who knows. [21:38:00] okay I'll try [21:48:56] New review: Mwjames; "If the change wasn't required due to a bug maybe it should go into the 1.9 branch because adding thi..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/31557 [21:51:53] Yaron: didn't help :/ [21:52:05] Oh well. [21:52:11] Uncaught Error: Unknown dependency: mediawiki.legacy.mwsuggest [21:53:55] Nikerabbit - hm, maybe that's causing the error? [21:53:59] That's not coming from SF, by the way, I don't think. [22:00:52] Yaron: yay, fixed it [22:01:07] Oh, great! [22:01:14] Where was that coming from - the skin? [22:01:30] Yaron: Vector extension [22:02:07] Oh... [22:02:22] That's the second issue I know of involving the SF preview and the Vector extension. [22:02:44] Stephan/ftrott knows about the other issue, so maybe he'll fix both at the same time. [22:02:57] (The whole SF preview thing is his code.) [22:04:49] Yaron: now trying to figure out why smw logo is broken [22:05:17] ah it is broken no more [22:05:27] Yay! [22:05:30] that was easy [22:08:17] If only they were all this easy. [23:01:34] Have you guys ever experienced saving a page and seeing only the title and no content, but after editing again and saving everything shows up?