[00:02:21] (PS1) Mwjames: ParserFunctionIntegrationTest reveals inappropriate visibility [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/94831 [00:34:21] kermit: if you're talking about red links - you can't add "preload" to those, but you can have the form itself do a "preload" on the free text. [00:34:31] ...plus "default" for the other fields. [06:48:03] (PS5) Siebrand: adding a tracking category; message key 'maps-tracking-category' [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [06:48:14] (PS6) Siebrand: Adding a tracking category [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [06:49:52] (CR) Siebrand: "i18n/L10n reviewed. Also updated commit message." [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [06:49:58] (CR) Siebrand: [C: 1] Add a tracking category [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [12:43:36] (CR) Jeroen De Dauw: [C: -1] "(1 comment)" [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [13:27:16] (CR) Wikinaut: [C: 1] "(1 comment)" [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [13:38:48] (PS7) Wikinaut: Add a tracking category [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 [13:39:47] (Draft7) Wikinaut: Add a tracking category [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 [13:40:44] (CR) Wikinaut: "(1 comment)" [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [13:41:45] (CR) Wikinaut: [C: 1] Add a tracking category [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [14:31:55] (CR) Jeroen De Dauw: [C: 2] Add a tracking category [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [14:32:20] (Merged) jenkins-bot: Add a tracking category [extensions/Maps] - https://gerrit.wikimedia.org/r/93499 (owner: Wikinaut) [16:48:40] Does anyone know of a result format that can display output like CategoryTree does? [16:49:08] Tree doesn't seem to work (or at least I haven't gotten it to work quite that way). [16:53:20] Rosencrantz: how is the hierarchy in this tree defined? [16:56:29] Overall it goes Group->Broad Subject->Specific Subject. So for instance Networking Group->Hardware->Switches->Cisco. [16:57:34] We're using CategoryTree to display all of a particular Groups relevant articles, but need to split them up further by article type (i.e. process, policies, troubleshooting, etc..) [16:57:48] I can do a query to list that out easily enough. [16:57:58] But that's just a long list, and not particularly useful for navigation. [17:14:06] Rosencrantz: the "outline" format from SRF might useful for that. [17:18:09] why does testing for an empty parameter not seem to work for me .. {{#if: {{{1}}} | not empty }} [17:19:04] it always says not empty even if its not passed a parameter [17:19:09] kermit: you need to have "{{{1|}}}" instead of "{{{1}}}". [17:21:03] ohh thanks! [18:21:31] (PS1) Yaron Koren: Added handling for #subobject in Page Schemas, plus some small fixes [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/94944 [18:34:26] (PS1) Yaron Koren: Removed possibility of accidentally setting a blank "allowed value" [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94948 [18:34:55] (CR) Yaron Koren: [C: 2 V: 1] Removed possibility of accidentally setting a blank "allowed value" [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94948 (owner: Yaron Koren) [18:34:57] (Merged) jenkins-bot: Removed possibility of accidentally setting a blank "allowed value" [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94948 (owner: Yaron Koren) [19:05:50] Hello everybody [19:06:20] I've posted this question here before and I just updated it on the G+ community but I'm at work and at my wits end with this issue [19:06:32] I'm hoping you folks might be able to help out [19:06:54] I keep getting an error or notice tha states [19:07:12] Notice:Array to string converstion in ........ on line 384 [19:07:29] I think it is because I use a lot of arrays and arrayunique through templates [19:08:08] And i found on us.php.net/array_unique#refsect1-function.array-unique-notes [19:08:41] Somebody said there is an issue with converting [19:09:07] splitwire: did you find the page(s) where the error was originating from? [19:10:25] I ran in verbose like you suggested and it is all over the place, I'd say 90% of the pages use this template and thats what it looks like when I run SMW_refreshData.php [19:10:42] Ooh, okay. [19:10:50] So, what does this template look like? [19:11:03] Could you pastebin it? [19:11:36] I'll try, I"m at work and using IRC through my phone [19:11:48] Oh. :) [19:12:03] Can't you do IRC on your computer? [19:12:19] Against work rules [19:12:23] Lame i know [19:12:25] Damn. [19:12:33] I think I can make this work though [19:17:19] This is going to work [19:17:25] I'm creating it right now [19:17:42] Basically there is one main template that calls 4 other templates (almost like modules) [19:18:18] (PS1) Yaron Koren: Added handling for new SMW #subobject capability for Page Schemas [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94957 [19:19:04] (CR) Yaron Koren: [C: 2 V: 1] Added handling for new SMW #subobject capability for Page Schemas [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94957 (owner: Yaron Koren) [19:20:02] (CR) Yaron Koren: [V: 2] Added handling for new SMW #subobject capability for Page Schemas [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94957 (owner: Yaron Koren) [19:20:30] (PS1) Yaron Koren: Newline fix [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94958 [19:20:53] (CR) Yaron Koren: [C: 2 V: 2] Newline fix [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/94958 (owner: Yaron Koren) [19:22:36] Yaron, see if this works [19:22:47] Pastebin.com/yppp9pzCNi [19:22:58] No, darn it [19:23:29] pastebin.com/yp9pzCNi [19:23:42] This is tough on a cell phone :) [19:24:22] splitwire: okay, I got it. [19:24:31] Great [19:24:56] This is the most complicated thing i've ever build so please be gentle when telling me the stupid things I did lol [19:25:36] Man... I don't see anything stupid, but it certainly is complicated! [19:26:08] Have you tried just simplifying it - removing various things to try to isolate what's breaking it? [19:26:57] I think if I remove the arrays it will be OK but when I pull the data from the two different external db's it gives me repeated data [19:27:37] I though about pushing arrays to variables before I tried to use arrayunique or index [19:28:01] You're using Arrays together with External Data, which is... well, I'd guess that a lot can go wrong. [19:28:04] I wasn't sure if it was worth the time to do all that then and its just another layer of complexity and more work in the background [19:28:10] Hm, maybe. [19:28:32] Yeah, it gets a little crazy at times [19:29:01] I'm trying to mold this into a project management tool and eventually do average times for change management [19:29:07] Why are you splitting up the "external table" of data, by the way? [19:29:57] So as you go down the Template:Aircraft, the external data calls become more focused and if I left them together it gums it up [19:30:07] What does that mean? [19:30:24] Is it an issue of displaying the data, or storing it semantically, or both? [19:31:13] Oh, sorry, I think you misunderstood my original question. [19:31:20] For instance the first call to db ERD i don't restrict the WHERE, but for the ERD WF i have to limit it to only view the stages that are currently pending so I have WHERE limit much more [19:31:27] Right, right. [19:31:52] I really hate their other databases btw lol [19:31:57] Well, you're really splitting up a lot - for the "external table", you're both separating it out by field/column, and then calling Arrays stuff on each column. [19:32:25] I don't know if this would help, but - are you aware of #store_external_data? [19:32:43] The template feeds into each page, and the PAGENAME is basically the field that tells the external data call what to grab and store to a property [19:32:55] Each time they go to the page they can see exactly where that project/workflow is [19:32:57] Sorry, #store_external_table. [19:33:17] Yes, I played around with it some [19:33:28] Maybe I was not using it correctly and thus not getting the desired results [19:34:26] It seems like it could simplify this whole thing... [19:35:00] And possibly make it run quicker, right? [19:35:07] You just call that, and then you have all the data stored semantically (using subobjects) - and then at that point it's a lot easier to display it in whatever structure you need. [19:35:14] I would think so... [19:35:27] Certainly being error-free is faster. :) [19:35:37] Hahahahaha absolutely [19:36:30] I'll still need to use arrays though because of the structure of the db's I'm pulling from [19:36:37] Why is that? [19:37:40] So the db's might use one row per engineering drawing or workflow but I need to assign all of those drawings to a property to be displayed, regardless of their rownumber [19:38:16] I don't understand. [19:38:26] Aren't these all just two-dimensional tables of data? [19:39:27] Yes, but the tables are structured very differently, one is oracle and the other is SQL,,, two different front end systems, and the method which they store and sort the data escapes me to discover an easier method [19:39:44] I probably am over thinking this or just don't know the simple tricks to make this easy [19:39:52] I... still don't understand. [19:40:20] The type of DB (Oracle vs. MySQL - assuming that's what you mean by "SQL") shouldn't matter. [19:41:22] I'm sure there is an easier way to get the required data [19:41:29] I just need to figure it out and look at it closer [19:43:01] Do you know how subobjects work? [19:43:11] Not really [19:43:24] I've been trying to read up on it and understand when Ihave time [19:43:32] Unfortunately that is not often [19:44:39] Well - it might be just the thing you need, if I've been "reading between the lines" correctly... [19:45:19] You probably are [19:45:31] I had a sneaking feeling that there was a better way [19:45:56] O:-) [19:46:10] I finally get a chance to use that icon! [19:46:15] Hahahahaha [19:46:18] Nicely done [19:46:43] I'm creating a 'shadow' wiki using what you suggested [19:46:50] I'll see if that works and pan it out some [19:46:55] Okay, cool. [19:46:57] It will be sooo much easier if it does [19:51:15] Meeting time, Yaron, thanks for all the help [19:51:31] I'll let you know how it turns out [19:55:31] Yaron: how would i have "the form itself" do a preload on free text? [19:56:35] Have something like "{{{standard input|free text|preload=Page name}}}". [19:58:49] thatdoents work [19:58:53] that doesnt work [20:00:05] Oh. [20:00:10] Well, that's a bug, I guess... [20:00:31] You could also do "default=", though that one might not be as convenient. [20:01:02] that overwrites anyhting when editing existing pages though [20:01:11] unless theres some way to prevent htat [20:02:29] It should only apply for creating new pages, not editing existing pages. [20:02:32] Is that not the case? [20:07:45] 'default' on free text doesnt import the old freetext, when without it, it does [20:07:50] preload doesnt work in either case [20:11:19] I didn't understand the first one. [20:13:21] if i use default=, then edit the page with the form, any existing free text is lost, being replaced with the 'default=' [20:15:23] Ah - that's not good. [20:15:34] So there are two bugs... what version of SF are you using? [20:17:22] [[Semantic Forms 2.5.2]] [21:07:17] kermit: maybe upgrading will help... I don't know. [21:07:40] ok [21:32:40] (PS2) Foxtrott: fix bug (handling of alternate forms with no default form) [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/93861