[09:01:25] New review: Netbrain; "Have to agree with Jeroen on this, you could remove quite alot of uneeded code" [mediawiki/extensions/SemanticMaps] (master) C: 1; - https://gerrit.wikimedia.org/r/38696 [09:01:33] New review: Netbrain; "lol" [mediawiki/extensions/SemanticMaps] (master) C: -1; - https://gerrit.wikimedia.org/r/38696 [10:20:40] New patchset: Netbrain; "Added support for exporting to Microsoft Office Excel file format" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/43172 [10:26:17] New patchset: Netbrain; "Added support for exporting to Microsoft Office Excel file format" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/43172 [10:33:45] New patchset: Netbrain; "Added support for exporting to Microsoft Office Excel file format" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/43172 [12:48:07] New review: Mwjames; "Thanks for your contribution." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/43172 [14:12:10] i'm trying to add a some logic to my first form ... i'd like to add a employee field that autocompletes or uses a dropdown box ... unfortunately i didn't yet understand the (too complex) examples i found and i'm a bit lost in the documentation ... [14:13:18] is the form responsible for that, or do i have to create a property? and if so - how would i specify that only pages of some specific category are allowed? [14:44:00] ah - finally found the info i was looking for: http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Allowed_input_types_for_data_types [15:23:18] New patchset: Jeroen De Dauw; "Fix exepception in rendering of #geodistance" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/43215 [15:23:18] New patchset: Jeroen De Dauw; "Fixed issues with parserhook tests" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/43216 [15:24:03] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/43215 [15:24:07] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/43216 [15:53:08] New review: Jeroen De Dauw; "Agree with mwj, this would fit better in SRF." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/43172 [15:58:00] New review: Jeroen De Dauw; "From your change to the gitignore I'm guessing you are using phpstorm and have the SMW dir as your p..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/43172 [16:22:12] New patchset: Mwjames; "SRF\EventCalendar SMWAPI/Ajax integration" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/41939 [16:26:00] New review: Mwjames; "Here it is 0.7.2 ..." [mediawiki/extensions/SemanticResultFormats] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/41939 [16:32:18] New patchset: Jeroen De Dauw; "Some cleanup of the property statistics code" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/37656 [17:16:23] Anybody around to answer a newbie question? [17:17:19] JeroenDeDauw Thank you for enabling graph and process on swm.o Sorry for the bugs :| [17:17:46] kghbln: heh, did that so long ago i can't remember it [17:17:48] what bugs? [17:18:20] The ones you closed yesterday about the missing smwdoc support [17:19:00] JeroenDeDauw Must have been after July last year though :) [17:30:37] kghbln: don't be sorry for trying to be helpful! ;) [17:31:56] JeroenDeDauw :) Yeah, but I you behave like a goof things may very well become ugly :D [17:57:01] ameiva: still got questions? [18:00:55] yes! [18:01:16] I am starting to set up a wiki for an event which will happen once a year [18:01:29] I wanted to know if there was an established protocol for doing this [18:01:41] i.e. the main page should redirect to the main page of the current year [18:01:59] and the main page of the current year should only contain info relevant to the current year [18:02:10] any inputs are appreciated [18:04:17] Don't think there's an established protocol [18:04:32] I certainly haven't heard of a semantic version of such a thing [18:04:59] If anything, go by good webdesign practice [18:05:30] you may want to read Krug: http://www.amazon.com/Dont-Make-Me-Think-Usability/dp/0321344758 [18:05:45] Ok, thanks! [18:06:02] Then think up your setup, and how you want to present each event [18:06:04] My first thought was that you should be able to filter by year in some way, so I assumed this was a known thing [18:06:07] Then semantify that [18:06:20] Good inputs, thanks! [18:06:23] There apparently are many ways to skin a cat [18:06:52] I'd think all depends on your setup, your content, the demands of your users, and your matching semantification [18:06:56] more or less in that order [18:07:43] You might wanna remember that semantics are an aid, not a goal [18:07:56] so what is SMW going to help you with? [18:08:11] formulate that right, and most of the rest will flow [18:08:26] ofcourse it helps if you know what SMW can and cannot help you with [18:18:28] New patchset: Jeroen De Dauw; "Some cleanup of the property statistics code [DO NOT MERGE]" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/37656 [18:31:43] New patchset: Jeroen De Dauw; "Some cleanup of the property statistics code [DO NOT MERGE]" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/37656 [19:36:51] Um. Is it possible for a property that derives values from a drop down list to assign said property a completely random value? [19:39:36] Ulfr: do you mean in a form? [19:39:44] Yes. [19:39:55] Saruman: I just told the story in #mediawiki if you're in there [19:40:19] i'm there [19:40:38] Ulfr: mebby look at http://www.mediawiki.org/wiki/Extension:Random [19:41:25] Saruman: I don't want random stuff to happen [19:41:36] I want my string to be a string, not a link to a random page [19:41:59] but the string must be picked random from a range of answers, right? [19:42:08] Correct! [19:42:13] None of which are insulin [19:42:17] so that's where Random comes in [19:42:41] The value is assigned via a form, it's assigning a picture to a location [19:43:41] if the locations are coded A through D, then {{#random:1 [19:43:41] | A [19:43:41] | B [19:43:41] | C [19:43:41] }} [19:43:45] bleh [19:43:53] Right [19:43:55] I just did that without random [19:43:58] and go Insulin [19:44:00] got* [19:44:57] seems you're throwing in two different problems at once [19:45:16] you ask a) how can I do Foobar, and b) I get strange results doing Barfoo [19:45:16] No, it's really just one [19:45:20] Nono [19:45:34] A) is already solved, the form works for every other value [19:45:50] I'm alarmed because the value I picked on the form != the currently assigned property [19:46:32] well then I'm missing large chunks of the actual problem [19:47:14] That's called confusion my friend [19:47:42] The dropdown shows the correct string in the form, but when I query for it, it's a page link to insulin [19:47:44] well I'm somewhat dazed by it [19:48:37] what do you mean by "query for it" [19:49:04] an #ask query is supposed to return a page [19:49:24] a #show query, not so much [19:49:27] erm [19:49:33] I'm just using special:ask [19:49:39] I've been using the semantic api with jquery [19:49:51] form: http://www.wikidoc.org/index.php?title=WBR85&action=formedit [19:49:52] well special:ask allows you to find pages. And you did. [19:50:09] http://www.wikidoc.org/index.php/Special:Browse/WBR85 [19:50:14] property values for the page [19:50:49] property in question is WBRImagePlace [19:51:30] I use special:ask to map my queries [19:52:36] well you're saying lots of things, but I can't connect the individual things you're saying [19:53:08] Sorry. Here's everything laid out [19:53:59] halt [19:54:00] http://www.wikidoc.org/index.php?title=Special:Properties&limit=500&offset=0 [19:54:09] WBRImagePlace is improperly typed [19:54:25] it's still a property of type Page even though you've tried to type it as a string [19:55:06] You said "[[Has Type::String]]" but due to case sensitivity it prolly should be "[[Has type::string]]" [19:56:22] Saruman: I get that, but my brain blue screen is because there are six values that can possibly be assigned page or string, and none of them are insulin [19:56:22] Same for http://www.wikidoc.org/index.php/Property:Checks_For_Sign although you accidentally get the right result there [19:56:53] well you're getting an incomprehensible error in a faulty situation [19:57:14] instructional as that may be, I'd correct the fault, then see what's left of the problem [19:57:26] Saruman: I concur, that's what I'm going about [19:57:55] also correct ChecksForSign, should be [[Has type::page]] [19:58:41] You shouldn't have a Property:Has_Type (unless you choose to, but that'd be really really confusing) [20:00:00] Saruman: Yeah, I'll fix that when the application isn't being used extensively [20:00:00] ah [20:00:05] got your problem figured out [20:00:09] {{WBRImage|Paragonimus LifeCycle.gif||Prompt}} [20:00:09] Yup [20:00:19] you're providing only 2 values [20:00:19] It's working correctly now [20:00:27] Yeah, but they're not mandatory [20:00:32] nevertheless [20:00:45] you're much much better off using named values [20:01:22] its much safer to use [20:01:44] {{WBRImage|image=Paragonimus LifeCycle.gif|caption=|position=Prompt}} [20:01:55] you can even leave out named parameters you're not providing [20:02:00] {{WBRImage|image=Paragonimus LifeCycle.gif|position=Prompt}} [20:02:06] Saruman: Yeah, I changed it to the numbers because of the multiple thing [20:02:31] shouldn't need to [20:03:17] Template:WBRImage takes three parameters, max. Shouldn't be any reason for those not to be named params [20:03:23] or am I missing something? [20:03:31] I'd totally agree with you if any of this was being coded by hand, but when I name them the form starts acting funky in chrome [20:03:43] the only way the templates are accessed is with the form I linked [20:05:32] strange things... I can't see why using chrome would influence the form [20:05:42] Saruman: Neither can I, but if it ain't broke [20:05:48] Saruman: hey, what was that book you recommended? [20:05:59] especially since my websites use named parameters in each and every form, and I haven't had problem reports [20:06:08] Kensie: you mean the web design? [20:06:32] Saruman: It's something about the combination of multiple and image upload that causes strange errors that leave no messages [20:06:33] Steve Krug http://www.amazon.com/Dont-Make-Me-Think-Usability/dp/0321344758 [20:06:43] about using the forms, you said it's by the main dev? [20:07:02] (sorry should have given more context, wasn't sure if you'd remember me) [20:07:44] i remember it was an ebook manual. thought I'd left the tab open but I can't find it. [20:08:10] ah [20:08:49] you mean http://workingwithmediawiki.com/ the book by Yaron Koren [20:09:13] currently not in this channel, but usually under the pseudonym "yaron" [20:09:23] I think so! and that has good walkthroughs/tutorials on how to use semantic stuff? [20:09:49] It explains MW and SMW in a very compressed but complete manner [20:10:16] if you don't know anything, you'll still find it tough, but it's the most comprehensive book I know - and current as well [20:10:59] I say it's well worth the $25 [20:10:59] Thanks. I will check it out. I am a bit of a n00b for anything other than editing pages so I need a good resource. [20:11:32] Kensie: if you follwo the book chapter for chapter, then it's still very good as it focuses your googling and sandboxing :-) [20:11:43] I could still use some more basic tutorials for semantic stuff if you can think of some [20:12:07] I strongly suggest creating a little sandbox wiki somewhere and start creating a very simple wiki [20:12:21] maybe something to organize your CD collection [20:12:22] ie the one in the semantic forms article is good, but I could use some that do things a bit differently [20:12:37] yeah, I am, just as I said I learn better by example than by hacking on my own. [20:13:03] well, set a goal with a low bar, go create, google, read smw.org and ask here [20:13:05] once I have the basics then I'm good to start experimenting [20:13:24] I can explain almost everything on http://www.infra-repository.org/oiar/index.php/Main_Page [20:13:59] Thanks [20:14:14] For MW basics, create your own wiki in which to record your knowledge about MW [20:14:16] :-) [20:14:29] then up the ante by semantifying it [20:14:31] I guess I am working a little backwards than normal, I know the tables I want to create, not necessarily trying to create pages with templates on them [20:14:32] :-O [20:15:02] and then when the info is changed on the page it updates the table, or anywhere else [20:15:35] (I do user support for a small business, we just got mw. I have been introduced to SMW on the mozilla wiki, it was very useful!) [20:16:15] well, as long as you realize SMW is a wiki system, not a front-end for rapid application development on database applications [20:16:28] oh yes, no it's for organizing our support docs [20:16:34] that it can do easily [20:16:36] like for tracking our release notes and versions [20:16:47] smw.org is a good example for that [20:17:14] Here it is on the mozilla wiki for example https://wiki.mozilla.org/ReMo/People [20:18:11] I think I want to do some slightly fancy things though, for example our meeting notes, it would be nice if the form forced the title of the page to be formatted a certain way [20:18:23] so that the meeting notes pages use the same structure for the title [20:19:13] I guess I could edit the form page to show the example of how it should be structured? [20:20:34] But I think I will get the book. I imagine this would be an easier question if I were more familiar with MW [20:22:21] agreed [20:23:23] :) [20:23:54] Saruman: btw we have a Gandalf at Mozilla ;) You guys should uh, meet! [20:25:06] anyway thanks for the help. I'm sure I'll be back! [20:37:00] Kensie: last time I met Gandalf I lost my palantír, so umh... [23:59:13] New patchset: Jeroen De Dauw; "Some cleanup of the property statistics code" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/37656