[00:31:24] New patchset: Mwjames; "SMW\ListResutlPrinter no default separators for format "template"" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49955 [00:40:24] New review: Mwjames; "Patch Set 1: Verified+2 Code-Review+2" [mediawiki/extensions/SemanticMediaWiki] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/49955 [00:40:34] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49955 [01:24:38] New patchset: Mwjames; "Extends smw.dataItem and smw.dataItem.factory()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49028 [01:50:52] New patchset: Mwjames; "Extends smw.dataItem and smw.dataItem.factory()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49028 [01:52:28] New review: Mwjames; "Patch Set 3:" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49028 [02:18:15] New patchset: Mwjames; "Rename smw.Api.query to smw.Query" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49965 [02:20:05] New review: Mwjames; "Patch Set 1: Verified+2 Code-Review+2" [mediawiki/extensions/SemanticMediaWiki] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/49965 [02:20:06] Change merged: Mwjames; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49965 [03:10:10] New patchset: Mwjames; "smw.Query add getLink() method (Special:Ask link)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49970 [03:12:23] New review: Mwjames; "Patch Set 1: Code-Review+1" [mediawiki/extensions/SemanticMediaWiki] (master) C: 1; - https://gerrit.wikimedia.org/r/49970 [03:13:20] New patchset: Mwjames; "smw.Query add getLink() method (Special:Ask link)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/49970 [03:41:32] New patchset: Mwjames; "srf.formats.datatables() enable table content export (use of SMW/SRF export printers)" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/49972 [03:49:52] New review: Mwjames; "Patch Set 1: Code-Review+1" [mediawiki/extensions/SemanticResultFormats] (master) C: 1; - https://gerrit.wikimedia.org/r/49972 [09:46:54] Question. I want a semantic form to create a page in a different namespace. How would I go about doing this? [09:47:17] So instead of creating {{PAGENAME}}, it creates Namespace:{{PAGENAME}} [11:10:48] Nevermind found it [12:10:34] Is there any way for forms to add information to a page it creates?. [12:11:05] I want a template to be included at the bottom of every page the form makes, below the free text [14:58:47] Velyks: you could just include the other template in the template the form uses [14:59:34] e.g. if your form creates a page with {{SomeTest|Name=value|Data=foo}} you put the stuff you need in Template:SomeTest [15:22:19] sven^: Would you just have the free text as another value? [15:24:05] you could do that [15:24:39] do a field {{{field|freetext|input type=textarea}}} and just add {{{freetext|}}} anywhere in your template [15:24:42] Seems a bit messy to me, is there anything that defines just regular content in a template? [15:24:46] or you define the form as partial [15:24:49] Oh yeah, that would work... [15:25:36] Currently its just using something like {{infobox}} as the template, so all the free text just sits below it as in a normal page [15:26:23] I want {{infobox}} {{infofooter}}. Ideally without having to define regular content as it's own parameter in the template [15:27:50] I think when you want to define such a static order you should define a parameter for the regular content [15:28:22] Darn, hoping there would be a more ambiguious way [15:28:52] do you want that infostuff to be editable? [15:28:59] or do you just want to add it to pages? [15:29:19] It's mostly auto-generated, either by inline queries or through form fieldss [15:30:05] well form fields implies that users can change it... so if it's part of the page, just make everything use the form [15:30:13] Can forms add default text to a page that would appear below the free text? Like a field with a default value set thats hidden from editing [15:30:18] that's the cleanest way in my opinion [15:30:44] yeah, as I said, you can just add stuff to your display template [15:30:49] yeah, suppose it is. All I want at the bottom of the page is to list the subpages, using an extension. So much work for something so small :( [15:31:11] "subpages"? [15:31:44] http://mycrappywiki.fart/wiki/MainPage/subpage [15:32:09] I guess that's an internal url [15:32:23] but I know what you mean [15:33:23] It was fake one. Having a tld of fart is just silly :( [15:33:43] no it's not! [15:33:45] ;) [15:34:38] ok, so you just want to add {{Special:PrefixIndex/{{PAGENAME}}}} to your pages? [15:35:14] Yes, to pages created with certain forms, below any free text added. [15:35:31] I think parameters might be the way to go with this one. [15:36:14] I thought there might be something like {{PAGETEXT}} or {{PAGECONTENT}} which returns all the text in a page not included by templates [15:38:17] .... I should write an extensions for that [15:42:48] that should be easy [15:45:39] My PHP is so rusty I wouldn't even consider it being existant, need to find out how to define magic words, then how to populate them. [15:47:10] git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MagicNoCache.git [15:47:46] that's a pretty shot example [15:47:50] short* [15:49:06] just use the proper hook for your task and get the text from an wikipage object [15:49:20] but I guess you'll have to make sure, that the text isn't displayed afterwards [15:49:27] I am not even sure if this is a good idea [15:50:24] I'd parse out anything inside {{}} since I don't want to include Template generated content. [15:50:29] And you never know unless you try! [15:51:10] AHh... I just realised... if you do that, you'll just be including the text twice, arg that isn't going to work at all [15:51:23] yeah, but maybe your problem can be solved better/easier with just a proper form/template [15:51:38] yes, that's what I meant with "[16:49:19] but I guess you'll have to make sure, that the text isn't displayed afterwards" [15:52:02] Yeah. [17:00:23] Is it possible to embed a semantic form in an article? [17:02:27] (not the form itself necessarily, but rather transcluding Form:Foobar [19:44:51] New patchset: Foxtrott; "bugfixes (incorrect page title; some inputs don't work)" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/50039 [19:48:05] New patchset: Foxtrott; "bugfixes (incorrect page title; some inputs don't work)" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/50039 [19:48:40] New review: Foxtrott; "Patch Set 2: Verified+2 Code-Review+2" [mediawiki/extensions/SemanticForms] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/50039 [19:48:41] Change merged: Foxtrott; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/50039 [23:29:05] hi yaron, I'm looking at the Page Schemas extension...In Yury's video he is showing how it works, he clicks the green Form checkbox and a drop down with some info and "Define form buttons and inputs" which is the options at the bottom of a form like Free text, Minor edit btton, save button etc are there, I installed this on my wiki, but those Define form buttons and imputs are not part of my drop down. [23:29:28] Right - those are custom modifications he added to his code. [23:29:51] oh, I want them :( [23:29:57] Why he made an instructional video featuring his own version of the code, I don't know. [23:30:50] yeah [23:53:00] Internal Objects isnt showing up either [23:57:20] do I move SIO_PageSchemas.php over to the PageSchemas folder or something?