[05:41:04] New patchset: Mwjames; "SRF event calendar add option to determine initial calendar start" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/24114 [22:57:50] I am a bit confused on how to have a semantic form generate a subpage... I can get it to generate a subpage, but I am not understanding how to input the subpage name as part of the form input... here's my example link to fill out the form: {{#formlink:form=Vendor Price Info Form 1|link text=Vendor Price Info Form 1|link type=|query string=super_page={{PAGENAME}}|query string parameters|target={{PAGENAME}}/i_want_to_enther_this_subpage_name_i [22:57:50] n_the_form|tooltip=|popup}} [22:58:34] as it is, I seem to not be using the super_page option because I am specifying the page name with target= [23:01:35] if i dont specify a target= I get the error "You must specify both a form name and a target page in the URL" [23:06:58] voldial - first of all, you don't need the literal text "query string parameters" in there. [23:07:34] Do you want the user to enter the page name themselves? If so, you should use #forminput, not #formlink. [23:10:34] aah. ok #forminput, so I do the logic in the form code, not the link to the form.? So that's done by adding a info field right? like: {{{info|page name=parent_page/user_user_input_here}}} [23:11:15] so: {{{info|page name={{PAGENAME}}/user_user_input_here}}} ?? [23:11:54] i see that everything after page name= is parsed so I can put a #ask or whatever in there... but I think I am just missing how to stick a field from the form into user_input_here [23:11:56] voldial - you would do that if you're using #formlink. [23:12:31] Yeah, sorry, you use #formlink if the page name is pre-set (via target=), or determined based on form fields. [23:12:44] if I specify target= in a #formlink link to the form, it seems to override the info section of the form code [23:12:53] Yeah, definitely. [23:13:50] (brain still chewing on this..) what syntax do I use to specify one of the user input fields in the form in place of user_user_input_here? [23:14:21] Hold on - aree you planning to use the "one-step process" just so you can get the super-page name in there, or is there another reason? [23:15:23] I thought I had to use the 2 step process because otherwise if I use #formlink I have to specify ahead of time the subpage name... before the user inputs it in the form.. or I am confused about that too [23:16:04] I have a main page, and I want to make a link when clicked on the user generated a subpage with a name that the user inputs via the form [23:16:51] I got it working with auto-page-numbering for making main pages... but havent figured out how to get the subpage name that the user inputs in the form and use that to generate the subpage [23:17:13] Oh - so are you using page numbering for this set of pages? [23:17:46] Or are you talking about some other form? [23:17:50] sorry I am messing up terminology [23:19:09] right now, by using the info field in the form code I am attempting the "two step process" I also tried the "two step process" via a #forminput link [23:19:27] ack! well you get it [23:19:41] I shouldnt have mentioned the page numbering that [23:19:48] Er, maybe I get it. :) [23:19:54] Fine, okay. [23:19:55] that's just extra info, the main pages are auto numbered by another form [23:20:00] Right. [23:20:24] and I want subpages (I added a link to all the main pages to generate a subpage) [23:20:40] Well, if I understand the issue correctly, it could be that just switching from #formlink to #forminput, while keeping the rest of the call the same, will work. [23:21:28] this subpage link could be a #forminput link or it could be like [[Special:FormEdit/Add Subpage Via Form]] [23:21:46] ok I'll try that [23:22:15] I still dont know what to put instead of user_user_input_here in page name={{PAGENAME}}/user_user_input_here [23:22:37] how do I refer to a var I enter on the form that generates the subpage? [23:23:25] If you're using #forminput, i.e. the two-step process, then the "page name=" formula gets ignored. [23:25:18] ok, so then it's done though super_page={{PAGENAME}} ? #forminput has no target= [23:26:28] super_page makes the new page a subpage... but how do I give the subpage a name? [23:26:47] The user does that. [23:26:53] I tried all kinds of combos and looked for examples before coming here to bug people about it ;-) [23:28:04] Well, let me know if that doesn't work. [23:28:25] you mean the user enters it when you link to the form like: [[Form:Add Subpage Via Form]] instead of [[FormEdit:Add Subpage Via Form]] right?> [23:29:01] I was hoping the user could enter the page name in the form itsself so it could be a dropdown [23:29:10] maybe I need a form to launch the form.. [23:30:47] if I use [[FormEdit:Add Subpage Via Form]] and include a info field, then I can specify the page name in the form code's info field... but I see no way to get the subpage name to be replaced by something on the form [23:31:19] I'll go mess with it more. Thanks as always.