[14:31:00] Hi. Is there any way to enter empty dates into forms? [14:31:59] (PS1) Jeroen De Dauw: Add to README [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/79202 [14:31:59] <_ken_> RndMA, what do you mean empty? [14:32:01] (CR) Jeroen De Dauw: [C: 2 V: 2] Add to README [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/79202 (owner: Jeroen De Dauw) [14:32:19] _ken_: I'd like to make date entry optional, but that doesn't seem possible [14:33:22] <_ken_> Not sure if this helps: [14:33:24] <_ken_> http://www.semantic-mediawiki.org/wiki/Help:Type_Date#Handling_of_incomplete_dates [14:34:34] The issue is with forms forcing a date in, if it's done by hand, it works fine [14:36:12] <_ken_> Well, I know you can do default=now within the form to specify to fill with the current date/time [14:36:42] <_ken_> so maybe you could default= to a date well in the past (ie, if the date is very old then it's not valid) [14:37:05] Hm, ok. I'll try that. [14:38:06] <_ken_> I'm not sure it's the best solution but it's what I do (though I only use one date within my very large form) [14:39:33] Oh, I think I found some sort of solution - regexp [14:39:40] This seems to resolve the issue [14:41:07] Ok, and a smaller question - is it possible to make the page creation text field (the "Create with form") automatically append a certain namespace? [14:41:26] Or even better, force a form to be always used in a certain namespace [14:51:33] Can templates be added into templates inside forms? Our infobox works like that for the sake of multiple rows [14:52:38] <_ken_> For forms based on namespace: [14:52:39] <_ken_> http://www.mediawiki.org/wiki/Extension:Semantic_Forms/The_%22edit_with_form%22_tab#Based_on_namespace [14:55:27] Cheers, I did not find that. [14:55:46] <_ken_> RndMA, for your template in templates question, I think you may want the Holds template/embed in field couplet: [14:55:47] <_ken_> http://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms/Archive_December_2011#embed_in_field.2Fholds_template [14:56:11] <_ken_> That example is actually pretty good (though I've found there a few typos or assumptions in it) [14:56:32] Oh, sweet, thanks. [14:57:03] <_ken_> NP [14:57:22] I'll need to learn quite a bit more on this, but so this is the last stop for us [14:58:23] Oh, and this is just a small question, I saw some wikis use tabs inside forms, for each part of the page, and I can't find that wiki anymore (I think it had something to do with TVs or such devices). Do you know what extension would one have to use to achieve that? [15:05:20] <_ken_> HeaderTabs [15:05:52] <_ken_> it's pretty sweet for big forms (they don't look as big if they're tabbed) [15:07:27] Cheers, this answers all my questions right now. [15:08:05] Now to learn how to do proper forms! [15:22:16] (PS4) Mwjames: \SMW\ExtensionSetup (use wgExtensionFunctions for initialization) [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/78964 [15:23:41] (CR) jenkins-bot: [V: -1] \SMW\ExtensionSetup (use wgExtensionFunctions for initialization) [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/78964 (owner: Mwjames) [15:24:44] (CR) Mwjames: "Same issue ..." [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/78964 (owner: Mwjames) [15:43:38] (PS1) Mwjames: \SMW\HashObject, \SMW\HashArray, \SMW\ObjectDictionary [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/79205 [15:48:21] JeroenDeDauw: Hey man, just wanted to let you know there's a dead link in your Maps documentation: http://semantic-mediawiki.org/wiki/Maps_examples/Google_Maps_KML [15:48:55] Ulfr_: ty [15:49:20] JeroenDeDauw: Not a problem. One of my users is playing with the extension. Mind telling me what the syntax to include a kml file is? [16:03:53] (PS2) Mwjames: \SMW\HashObject, \SMW\HashArray, \SMW\ObjectDictionary [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/79205 [16:11:57] (PS5) Mwjames: \SMW\Maintenance\RebuildConceptCache (rebuildConceptCache.php to replace SMW_conceptCache.php) [extensions/SemanticMediaWiki] - https://gerrit.wikimedia.org/r/77493 [17:10:10] Ulfr_: what version are you using? (Maps) [17:57:17] Apologies, but I've searched and couldn't find an answer for this. Can special properties be renamed, i.e. Last editor is -> Has Last Editor? [17:57:42] Or not so much renamed as relabeled. [17:59:11] Some of the SMW extensions (Semantic Extra Special Properties, Semantic Glossary, etc) are kind enough to enable this easily, but SMW core doesn't appear to.