[10:11:34] hi! [10:12:03] there is a bug in semantic forms. :( [10:17:34] when i use the fileupload in a semantic form, there is a problem when the upload form tries to rename the file [10:18:05] file gets renamed automatically, but it won't be submitted to the form. instead i get a "file empty" message [10:18:41] is anyone aware of the problem? anyone trying to fix this, or giving me a hint where this can be fixed? [10:35:46] re [10:42:55] who is actually working on semantic forms? [12:51:33] Flexman: Yaron, mostly. You can check bugzilla whether there is a bug open, and if not, open one [12:58:17] padde: ok thank you [13:03:13] ah hi yaron :) [13:03:37] Hello! [13:05:23] yaron: you are mostly working on semantic forms? [13:05:39] Not really... I work on a lot of stuff. [13:06:04] ah ok. it's just because: i found but with the file upload [13:06:15] err... i mean i found a bug [13:06:22] Alright. [13:06:51] just wondering if it is known already or if someone could give me a hint where to fix it [13:08:08] ...? [13:09:57] when i use the fileupload in a semantic form, there is a problem when the upload form tries to rename the file [13:10:05] file gets renamed automatically, but it won't be submitted to the form. instead i get a "file empty" message [13:12:15] Ah. What versions of SF and MW are you using? [13:13:39] yaron: Semantic Bundle (Version 1.8.0.4), Semantic MediaWiki (Version 1.8.0.5), Semantic Forms (Version 2.5.2), Semantic Forms Inputs (Version 0.7), Semantic Image Input (Version 0.2 alpha) [13:14:04] Ah, okay. [13:14:34] There has been a more recent version of SF (and the Semantic Bundle), though I don't know if that will fix the problem. [13:15:00] I guess it wouldn't hurt to try. [13:15:36] By the way, I haven't heard of that problem happening before. [13:17:05] it happens when you use filenames where whe wikimedia-upload will rename the file [13:17:44] so if you work on SF in the future you might consider testing with filenames like "bla,blubb,s�wieso.jpg" [13:18:43] but it will also happen if you have a version of that image uploaded before etc. so it will happen when the upload will ask you something for some reason [13:19:47] Oh, I see - I thought you were talking about uploads where the user changes the file name. [13:20:39] I guess I knew about that issue, yes - if anything goes wrong during the file upload process, the field name won't be filled in at the end. [13:20:53] exactly [13:20:54] I looked into it, but couldn't figure out how to fix it. [13:22:17] hm ok, so updating won't help there yet [13:22:33] so that means it migh be a bigger thing to fix that? [13:22:42] Bigger than what? [13:23:48] :) good question [13:24:16] no, i mean, can you guess how much work it might be to fix this? [13:24:51] No... and I'm not entirely sure that it's possible. [13:25:14] The whole SF file upload thing is kind of a hack - using MW's upload code for purposes it wasn't intended for. [13:25:53] Then again MW's file-handling code keeps changing; so it could be that what wasn't possible before now is. [13:26:50] ouch... so it might impossible to solve that. hmm. one change might be that SF renames the file the way MW needs it so that it won't ask [13:28:44] Hm, that could solve part of the problem. Although it wouldn't solve the issue of choosing a file name that's already taken. [13:29:26] hm thats true [13:30:38] hm [18:03:31] boing [18:03:35] yaron: in the house? [18:03:50] Yes, I'm in the house. [18:04:09] wondering if I can specify a template in a field of a semantic form, and then use the specified value to select a template to expand on a page. [18:04:37] Oh, man... well, you could do something similar with "show on select". [18:04:38] for example, this would be used to specify the template that contains the graphical header for a particular newsletter. The header can change every month (new graphics). [18:04:59] what's "show on select"? [18:05:07] It's a feature in SF. [18:05:43] let me google [18:06:38] that is a nice feature. [18:07:49] I am not sure if that will work in this case, though. [18:07:51] hmmmm... [18:08:25] is there just a simple way to do a semantic {{#show}} query and use the result as the name of a template to expand? [18:08:45] I think I want to take advantage of show on select for other things, though. [18:16:27] drobbins: you probably can't do that directly, but you can use #switch to accomplish the same thing. [18:17:15] yaron: so, I can have one master template that selectively includes a template via conditionals, based on a semantic value used in the conditional. [18:17:35] Right. [18:17:43] okay, I think that should work. [18:18:16] the only trick here is that I need to display the banner on the newsletter page, and the article pages. Articles are subpages of the newsletter page. [18:18:29] so it needs to be able to handle being on the main page or the subpage. [18:20:19] I think I have used some trick to do this before -- some string function to grab the main page name, then use it for a semantic query. [18:20:30] just need to make sure it works when I also use it from the main page. [18:21:01] yaron: all the semantic capabilities are awesome. We are making heavy use of them at Zenoss. And I will be making heavy use of them for funtoo.org, as well. [18:21:11] That's great. [18:22:31] here is my latest use of external data. This one doesn't use semantic features, but is a handy way to get cron job output on to a wiki page: http://www.funtoo.org/wiki/Compare_Forked_Packages_To_Gentoo [18:23:04] I am also using external data at Zenoss to do static code analysis of ZenPacks and then injecting this data into the wiki so we can query on it. [18:40:08] (PS1) Jeroen De Dauw: If there is a composer loader, it should be used before anything else [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87430 [18:41:42] (PS1) Jeroen De Dauw: Use Composer on TravisCI [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87431 [18:58:28] drobbins: oh, neat! [18:59:03] Well, it's still small-s semantic. [19:42:39] (PS1) Siebrand: Use "or" instead of "/" [extensions/Maps] - https://gerrit.wikimedia.org/r/87438 [19:50:51] (CR) Raimond Spekking: [C: 2] Use "or" instead of "/" [extensions/Maps] - https://gerrit.wikimedia.org/r/87438 (owner: Siebrand) [19:51:01] (Merged) jenkins-bot: Use "or" instead of "/" [extensions/Maps] - https://gerrit.wikimedia.org/r/87438 (owner: Siebrand) [20:05:05] (PS1) Foxtrott: fix bug 50288 (Fatal error when using invalid target page title) [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/87441 [20:52:40] (PS2) Siebrand: fix bug 50288 (Fatal error when using invalid target page title) [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/87441 (owner: Foxtrott) [20:55:31] (CR) Siebrand: [C: 1] "The L10n changes do not appear to be directly related to what's addressed in the commit summary, but there's not really any hard to them e" [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/87441 (owner: Foxtrott) [21:02:16] (CR) Mwjames: [C: 2] If there is a composer loader, it should be used before anything else [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87430 (owner: Jeroen De Dauw) [21:03:46] (Merged) jenkins-bot: If there is a composer loader, it should be used before anything else [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87430 (owner: Jeroen De Dauw) [21:13:43] (PS1) Mwjames: Add and update hooks documentation [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87449 [21:18:47] (PS2) Mwjames: Add and update hooks documentation [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87449 [21:20:53] (CR) Mwjames: [C: 2] Add and update hooks documentation [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87449 (owner: Mwjames) [21:22:27] (Merged) jenkins-bot: Add and update hooks documentation [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87449 (owner: Mwjames) [21:37:11] (PS1) Mwjames: [DIC]: Detect and guard against ciruclar references [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87453 [21:38:25] (CR) jenkins-bot: [V: -1] [DIC]: Detect and guard against ciruclar references [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87453 (owner: Mwjames) [21:43:02] (CR) Mwjames: "PHP Fatal error: Using $this when not in object context" [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87453 (owner: Mwjames) [21:44:56] (PS2) Mwjames: [DIC]: Detect and guard against ciruclar references [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87453 [21:49:26] (CR) Mwjames: [C: 2] [DIC]: Detect and guard against ciruclar references [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87453 (owner: Mwjames) [21:51:19] (Merged) jenkins-bot: [DIC]: Detect and guard against ciruclar references [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87453 (owner: Mwjames) [22:17:59] (PS5) Mwjames: \SMW\ContextAware + SMW\BaseContext [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/85428 [22:18:17] (PS2) Mwjames: UpdateObserver and JobBase to implement ContextAware [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/86849 [22:18:29] (PS2) Mwjames: StoreUpdater to implement ContextAware [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/86892 [22:18:40] (PS2) Mwjames: CacheableObjectCollector to implement ContextAware / Delete SMWSQLStore3SpecialPageHandlers [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/86893 [22:52:49] (CR) Jeroen De Dauw: [C: 2] Use Composer on TravisCI [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/87431 (owner: Jeroen De Dauw)