[03:24:01] I got my table to have a date col no problem, but I am having a hard time finding a SORTKEY example where the td element is set. Anyone have a link to a SMW table with a properly sortable date column? [07:47:40] (Abandoned) Aaron Schulz: Avoid using mPreparedEdit directly [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/95530 (owner: Aaron Schulz) [10:08:26] I have some #ask query which results in a broadtable, and one of the columns has multiple values for their property. now they seem to be separated by newlines, is there some easy setting to separate them by commas, or do I need to write my own templates for output? [10:41:22] PlasmaHH: In that case, I usually end up making a template that uses string replacement. http://911datasets.org/index.php/Help:ParserFunctions there might be a better method, but I dont know it yet. [11:58:30] voldial: maybe its time to get my hands dirty and dive into php [12:03:41] voldial: return implode( '
', $values ); [12:40:28] voldial: just adding a parameter for my installation in the php code, seems easier than to create templates for all cases [14:18:15] (PS2) Jeroen De Dauw: Disable type enforcement for properties with names equal to type names. [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/84744 (owner: VitaliyFilippov) [15:31:01] (Abandoned) Mwjames: ParserFunctionIntegrationTest reveals inappropriate visibility [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/94831 (owner: Mwjames) [16:01:33] (PS1) Yaron Koren: Make "minimum instances" the default number, for multi-instance templates. [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/95624 [16:02:43] (CR) Yaron Koren: [C: 2 V: 1] Make "minimum instances" the default number, for multi-instance templates. [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/95624 (owner: Yaron Koren) [16:02:46] (Merged) jenkins-bot: Make "minimum instances" the default number, for multi-instance templates. [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/95624 (owner: Yaron Koren) [16:22:39] (PS3) Mwjames: Make MediaWiki dependency in MockObjectBuilder explicit and visible [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/95153 [16:31:27] (PS1) Yaron Koren: Fix for "connecting property" bug in new #subobject handling [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/95635 [16:32:11] (CR) Yaron Koren: [C: 2 V: 1] Fix for "connecting property" bug in new #subobject handling [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/95635 (owner: Yaron Koren) [16:32:43] (Merged) jenkins-bot: Fix for "connecting property" bug in new #subobject handling [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/95635 (owner: Yaron Koren) [16:34:11] Does anyone in here know how to check if a user is a sysop or not (inside a template, not in the php code). I've got a property that updates based on the last edit, and in most cases shouldn't be updated when a sysop edits a page (since most of those are non-content edits). [16:34:35] *last revision date [16:35:18] Rosencrantz: I don't believe there's any way to do that, but you might want to ask in #mediawiki. [16:35:40] I did earlier, but never got any response. [16:36:53] Alright. Well, my guess is no - unless you create some sort of custom thing. [16:37:13] Though, if I may, your approach sounds like a bit of a hack... [16:37:26] (CR) Anomie: "Change I2c34baaf would make mPreparedEdit a protected field." [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/95530 (owner: Aaron Schulz) [16:37:32] How so? [16:37:53] Judging the nature of edits based on the user's group seems... odd. [16:38:31] Yeah.. it is.. I might make an over-ride or something in one of the info boxes. [16:38:35] Are you sysop on this wiki? And do you not make content edits? [16:38:41] (a sysop) [16:39:29] Actually, I'm not even sure what you mean by "content edit" - what's not a content edit? [16:40:25] Ok.. well background. [16:40:52] We've got normal informational pages that are maintained by all of our users. [16:41:35] And we've got official policies and processes that are edit restricted [16:42:07] We have a property to keep track of audits to make sure the information overall doesn't go stale. [16:42:44] Basically just a reminder that we can query to go hey, time to check up on this policy to make sure it's still accurate. [16:43:24] So sysops only edit the restricted content? [16:43:50] Right. Those are fine since they're manual. But the unrestricted content automatically updates the audit anytime anyone edits it. [16:44:25] Most of the time we make an edit to it it's not to actually validate the accuracy of the content, but for minor cleanup (fix markup, add missing categories, etc.) [16:44:52] Right - so what's really the usefulness of that "last edited" property anyway? [16:46:18] For the informational pages, the timer is pretty long. If it comes up we find some sort of SME on the topic and find out if it's even still relevant, or if we should archive it, or what. [16:48:08] So if people keep making cosmetic fixes to a page, it won't ever get flagged for review? [16:48:51] Exactly. [16:49:51] Well, okay. Sounds like a hack to me. :) I would suggest, instead of that whole process, to have an explicit "Last reviewed" field. [16:54:24] *shrugs* A bit perhaps. May just deal with the slightly inaccurate review dates on those since those aren't as critical as the policies. [16:54:34] thanks! [17:10:21] (CR) Yaron Koren: "I agree that tests for the Page Schemas functionality would be great." [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/94944 (owner: Yaron Koren) [20:32:36] (CR) VitaliyFilippov: "Ok I'll ask here: what are the issues here that should be solved?" [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/84744 (owner: VitaliyFilippov) [21:27:09] (Abandoned) Jeroen De Dauw: Support subquery negation operator in SemanticMediaWiki queries. [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/89204 (owner: VitaliyFilippov) [21:31:39] Ooooh. I've been wanting that for a while now.