[02:08:14] New patchset: Mwjames; "Clean-up RecurringEvents class, add test docs" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59574 [02:16:50] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59574 [02:24:14] Change abandoned: Mwjames; "(no reason)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/58293 [02:51:05] New patchset: Mwjames; "Decouple responsibility, move value factory out of ParserData" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59057 [05:07:53] New patchset: Mwjames; "Move SMWDataValueFactory and add tests" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59595 [08:36:30] Hi all. I've noticed that on http://semantic-mediawiki.org/wiki/Help:Import_vocabulary#Importing_properties - it suggests that we should remove the "has type" statement from the property page. It suggests in bold that the type will automatically be taken from the smw_import_* declaration. On my wiki (MW 1.20.3, SMW 1.8.0.4), the type is not inferred from the smw_import_foaf page. [08:36:32] Even the example given in the previous sentence - http://semanticweb.org/wiki/Property:Foaf:name has the type declared as string, and removing the property type shows that type is not inferred from the smw_import_foaf page. [08:36:34] Does anybody else have automatic type inference from smw_import_foaf working? [08:38:10] I've just noticed that I'm not the first person to be confused by this: http://semantic-mediawiki.org/wiki/Thread:Help_talk:Import_vocabulary/Property_datatypes [17:08:54] Is it possible to have a Semantic Form field be hidden after the inital submission? [17:14:11] mightmare: I have never heard of that [17:14:56] I have a form that has a "Name" feild that when the page is submitted it makes that the pages titles... but users always seem to attempt to edit that field to rename a page [17:15:05] which seems logical but obviously doesnt work. [17:16:02] well have you tried supplying extra explanation with that field? [17:16:14] I have but I have about 2k users [17:16:17] and they forget [17:16:22] regularly [17:16:24] I mean in the form itself? [17:16:29] oh oh [17:16:40] Maybe im lost... [17:16:57] Add an explanation in the form (text?) [17:17:04] tell the users it will not move the page? [17:17:18] yah [17:17:19] why not [17:17:30] I have not yet, right now I am looking at my options [17:17:40] http://www.infra-repository.org/oiar-dev/index.php?title=GS.Archive_Management&action=formedit [17:17:44] Im just not sure if the {{#ifexists : tag will work as expected [17:17:54] I'd think not [17:18:24] but I'm not the world's leading expert in semantic forms [17:18:40] wiki markup in a form relates to the form [17:19:16] if the form is filled and submitted, it creates the page [17:19:35] Correct [17:19:38] they use the same form [17:19:40] to edit the page [17:19:42] "edit with form" [17:19:54] yes, but the wiki markup doesn't know that [17:20:09] it still relates to the page Form:whatever, regardless of which page you're creating or editing [17:21:00] if you're editing page Foo, you're not "on" Foo, you're "on" Form:whatever, which contains the data from page Foo [17:21:00] the idea I had was have the form check if the page exists, dont display the title field [17:21:19] but I see what you are saying [17:21:23] hurm [17:21:52] There's something to be said for interaction between a form and the page it's going to create/edit, but I'm not sure what is already there, what might be done, and what cannot be done [17:22:17] also, there's something inherently wrong with a wiki that you enter information into,but then cannot change [17:22:31] All of it is editable [17:22:46] id also agree my Wiki is not the usual wiki by ANY stretch [17:23:04] not many semantic wiki's are "usual" by most stretches [17:23:18] * Saruman the veritable wordsmith [17:23:42] Mine is used by a support org and it contains Knowledge Base Articles, on how to fix peoples servers [17:23:52] that's pretty common though [17:23:52] The fill the form out, and hit save and it maeks a new KB article with a KBID [17:24:15] If a tier1 user finds something incorrect in the KB they can edit it via the edit with forms [17:24:28] As the same form is used for the Creation and Edit [17:24:33] it has a "title" field [17:24:39] If they adjust that... it does nothing [17:24:51] as the form uses [17:24:53] {{{info|create title=New RTS Article|edit title=Update|page name= - }}} [17:25:05] To "automaticly" create the page for them [17:25:43] well, in the form you'd do good labeling the "title" field differently [17:26:07] like "name" or "original ID" or what have you not [17:27:05] some tag that doesn't tickle the user's edit muscles [17:28:19] guess I could also create a second form [17:28:25] and change the Page has default form:: [17:28:36] and make it not have the title field. [17:28:37] yah that's a workaround as well [17:28:55] well it has to have the title field, but you can make it hidden [17:28:56] Thanks for the help :) [17:29:00] np [20:24:54] New patchset: Mwjames; "Add Hooks class test" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59715 [20:33:19] Hi all, I have an odd problem I am using a form to create a page with a template. When I put the template in by hand it is fine, but when I call the template {{template name}} I get an extra box - http://grab.by/lJp2 [20:34:48] sorry, took that one down look at this one - http://grab.by/lJpE [20:35:26] Saruman: did I catch you before bed? [20:36:27] oh wait...I may have figured it out myself :-p [20:41:34] New patchset: Mwjames; "Add Hooks class test" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59715 [20:42:54] Kensie: still up [20:43:28] Saruman: I'm comparing it to a similar template, I had a space between the start of the template [20:43:37] but that doesn't seem to be fixing it? I'm testing [20:45:36] Saruman: ok it seems to have been a paste error, some stuff is somehow in the wrong place :D [20:46:16] you good now? [20:47:24] Saruman: it's not working yet, but I think I am ok. Probably haven't fixed everything. [20:47:36] ok, then it's bedtime for me [20:47:38] \o [22:31:52] New patchset: Mwjames; "Use SMW_OUTPUT_WIKI for imgCaption instead" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/59750 [22:45:55] New review: Yury Katkov; "guys! The documentation still doesn't work!" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/29882 [22:57:29] New patchset: Mwjames; "Use outputMode to determine imgCaption text" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/59750 [22:59:49] Change merged: jenkins-bot; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/59750 [23:03:26] New patchset: Mwjames; "Add SMW\HooksTest class" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59715 [23:11:48] New patchset: Mwjames; "Add SMW\HooksTest class" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59715 [23:16:54] New patchset: Mwjames; "Add SMW\HooksTest class" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59715 [23:23:45] New patchset: Mwjames; "Add SMW\HooksTest class" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59715 [23:53:59] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/59715