[05:49:01] Is anyone here using the SemanticNotifyMe extension? It looks good [14:10:47] (PS1) Kghbln: Tweaks and changes to several system messages [extensions/SemanticResultFormats] - https://gerrit.wikimedia.org/r/97739 [14:19:30] (PS2) Kghbln: Tweaks and changes to several system messages [extensions/SemanticResultFormats] - https://gerrit.wikimedia.org/r/97739 [14:22:12] (CR) Mwjames: [C: 2 V: 2] Tweaks and changes to several system messages [extensions/SemanticResultFormats] - https://gerrit.wikimedia.org/r/97739 (owner: Kghbln) [14:32:23] (CR) Kghbln: "This was a fast one. Thank you James." [extensions/SemanticResultFormats] - https://gerrit.wikimedia.org/r/97739 (owner: Kghbln) [15:44:56] what was that mass edit extension called that you could use for example after renaming a template to fix all the pages using it? [15:47:45] You could take a look at Replace Text. [15:48:26] I think there's also MassEditRegex [15:55:31] (PS1) Kghbln: Several tweaks to the extension [extensions/SemanticWebBrowser] - https://gerrit.wikimedia.org/r/97745 [16:02:52] thanks [16:03:10] I just wrote a maintenance script to do the job ;) [16:41:47] yay, I broke SF ;) [16:42:01] http://codepad.org/kWfKEij1 [17:00:58] Yaron: since type::String is depreciated now and I changed all my properties to "text" all my forms are "ugly" (having text areas instead of one lined input fields). What is the best way to fix this? Explicitly telling it to use text? [17:07:30] sven^: yes, unfortunately. [17:08:02] oki [17:08:06] Ah, that old serialization bug... what version of SF are you using? I thought that was fixed already. [17:09:11] 2.5.1 [17:09:17] will update tomorrow [17:09:36] Alright. Hopefully it's been fixed! [17:11:12] I hope so, too [17:11:22] or I'll have to disable my extension... [17:17:20] yep, the bug is fixed [17:28:47] Yay! That was fast. [17:59:49] how can something be listed in Special:Properties that has "0 uses" and a red link (no page) [18:00:01] where exactly is it existing, then [19:35:13] Greetings, I'm looking for a way to take the input from a semantic form and email it in addition to using the calendar output. Does anyone know how to do this? [20:11:53] kermit: That sounds like a bug, if its not a special property. [21:11:03] Yaron, I have a question for you, first let me say how much I like the semantic mediawiki. Is it possible to create an extension that will email a semantic form or is it something that you've decided not to do? [21:14:18] Wade: that's great to hear! [21:14:41] Are those the only two options? :) Actually, they don't even seem contradictory... [21:15:48] I'm using the form to create an event on a calendar. My boss wants the event to be emailed so that our IT techs don't have to do twice the work [21:16:00] Right, I saw your email. [21:16:31] What exactly do you want to show up in the email? Not the wikitext of the generated pages, presumably. [21:17:08] No, I'd like to show the property names and their values [21:17:28] Formatted [21:17:51] So basically, you want the HTML representation of each generated page? [21:17:56] yes [21:18:16] or rich text formatting [21:18:25] it's going through outlook [21:18:58] Right. And at what point do you want the set of recipients defined: when the user fills out the form, or beforehand? [21:19:16] When the user fills out the form [21:19:31] Well, that makes it tricky. [21:19:50] There's no way to know in advance which email addresses you want to receive notification about which page? [21:20:03] How would it work beforehand [21:20:26] Let's leave out the details for now - the question is, is it knowable. [21:20:55] i.e., that all new pages in category A should be sent to email addresses C, D and E. [21:21:34] Possibly, as long as we can set some kind of flag in the form to tell it which address list to use [21:21:48] Why would you need that? [21:22:33] How else would the system know who to send the email to? [21:23:06] Based on information like the category, and possibly one or more property values. [21:23:12] oh [21:23:32] but how do you set the category, if not in the form [21:23:54] The category's actually set by the template - the form just creates a call to that template. [21:24:30] Do instead of one "create a new event" button, I would have several? [21:24:37] No. [21:25:07] I'm sorry, I'm not following along very well. [21:25:12] Yaron: good, that you're around. In bug #30034 you wrote that one can create File pages using Semantic Forms [21:25:18] Let's just stick to the original question, if possible - is it knowable for certain, given just a page's contents, which set of users should be notified about it? [21:25:27] Yaron: do you have an example for it? [21:25:51] dev-zero: I can't think of one... but a File: page is still just a wiki page, really. [21:25:54] Yes, it should be [21:26:02] Alright, that's great to hear. [21:26:19] In that case, I don't think Semantic Forms is even necessary for this. [21:26:43] Not that what you're asking about is currently doable, but the mechanism to accomplish it would not require SF. [21:26:57] But how would I add it to the results format "calendar"? [21:27:16] That's a separate thing - that's already being done, no? [21:28:16] Yes, through the form, but I want to email it at the same time. otherwise, the user has to create the event in the calendar on the wiki, then replicate the information in an email to send out to the organization [21:28:43] Right, right. [21:29:20] Well, this may possibly help to clear it up: https://www.mediawiki.org/wiki/Extension:PageCreationNotif [21:29:43] It's a very simple extension that just emails some users whenever *any* new page is created. [21:29:52] It's not tied to Semantic Forms or anything else. [21:30:39] The solution would have to be something like this, but more involved - it would look at the category (and possibly properties) of each generated page, and send emails to a different set of addresses accordingly. [21:30:59] I don't think that will work for what I want to do. [21:31:08] The extension [21:31:19] That's what I was afraid of. [21:31:22] Yaron: sooo, I should be able to modify the form used in Special:Upload somehow? [21:32:24] dev-zero: oh, I see - you want people to be able to upload a file, and add a template to the page for that file, at the same time. [21:32:46] Wade: you want to use the data entered in the form to be used to fill out and send a template mail as well? [21:32:48] That, unfortunately, can't be done, as far as I know - it has to be first one, then the other. [21:33:05] Yes [21:33:22] Yaron: yes, that's what bug #30034 is about, at least the way I understood it [21:33:40] dev-zero: yes [21:33:45] Yaron: how do I upload a file and specify semantic properties (or any other structured metadata) while uploading it [21:34:20] I don't believe you can do that. [21:34:34] Nischayn22: its propertise i once used.. but there were never pages for, maybe theres some cleanup it hasnt done? though some are days old. [21:34:37] Although there's the UploadWizard extension - it may be able to do that to some extent. [21:34:54] It's worth looking into. [21:35:47] Yaron: and this in way which is preferably compatible with the fancybox one gets with the uploadable property [21:36:09] Yaron: ok, will do, thanks [21:36:44] Wade: ok, I understand then what you would like to do, I might need this functionality in the future as well, but I don't have a solution for it, sorry [21:38:51] ... on the other hand, that "uploadable" property is really broken [21:39:22] the fancybox is ugly since it ignores the css, the iframe-solution is more than questionable [21:39:59] and if the users don't edit the filename which is automatically filled in by append ".jpg" (or whatever they need), they have to upload the file twice since it will fail the first time [21:40:12] Yeah, that part sucks. [21:40:16] ... most of it is mediawikis fault, but nevertheless... [21:40:35] Dev-zero: no worries. Somebody, someplace has to have a solution :) [21:40:36] The "default filename=" parameter is mostly worthless. [21:40:48] wouldn't it be possible to render a form there using jquery which uses the API when hitting submit? [21:41:06] Um... I presented a solution. [21:41:18] Yaron: where? :) [21:41:46] ... or do you mean the UploadWizard? [21:41:46] Up above. [21:42:06] For me or for dev-zero [21:42:15] Right, that was my question too. :) [21:42:23] LOL [21:42:50] I presented a solution for Wade's problem. The file thing is just really tricky. [21:43:05] It's hard to interface with/modify the MediaWiki upload code. [21:43:32] Yea, the create page notification might work as long as I could put the contents of the created page in the email [21:43:42] Yaron: thanks a lot for your hints, keep up the good work, I really like semantic mediawiki so far :) [21:43:51] Sure. [21:44:26] Wade: right, it would have to be a modified version of that code. [21:44:40] Ahhh, I see ok. Got it. [21:44:48] Sorry, i'm a little slow today