More actions
Ttenbergen (talk | contribs) Created page with "Create a link that will call Form:Broken to generate a page in the Broken: namespace with name of current date time {{#forminput:form=ExampleForm |query string=namespace=ExampleNamespace&=Broken }}" |
Ttenbergen (talk | contribs) No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Create a link that will call [[Form:Broken]] to generate a page in the Broken: namespace with name of current date time | Create a link that will call [[Form:Broken]] to generate a page in the Broken: namespace with name of current date time. | ||
Form use (ie presence of "edit with form" tab) is set in [[North Forge:Broken]]. | |||
{{# | The creation of the random page name in the Broken namespace is defined within [[Form:Broken]]'s info tag. | ||
Opening form with pre-filled field: | |||
* https://nf.squirrelslair.ca/index.php?title=Broken:111&action=formedit&returnto=Broken&Broken%5Btool%5D=Test%20tool | |||
'''But that creates a specifically named page. How would I let the form take care of naming as per its <unique number> setting? Posted [https://www.mediawiki.org/wiki/Extension_talk:Page_Forms#allowing_an_edit_via_extension_lockdown here]. ''' | |||
* suggested change: | |||
** https://nf.squirrelslair.ca/index.php?title=namespace=Broken&action=formedit&returnto=Broken&Broken%5Btool%5D=Test%20tool | |||
* suggested next: | |||
** https://nf.squirrelslair.ca/index.php?title=&action=formedit&returnto=Broken&Broken%5Btool%5D=Test%20tool&namespace=Broken | |||
{{Collapsable|always= steps|full= | |||
* Using form link | |||
** {{#formlink:form=Broken|link text=test|returnto=Broken}} - this doesn't work for non-logged-in users | |||
* passing tool name | |||
** {{#formlink:form=Broken|link text=test|returnto=Broken|query string=Broken[tool]=Test tool}} | |||
* to make it work for non-logged in users, it needs to be an action=formedit link instead: | |||
** https://nf.squirrelslair.ca/index.php?title=Broken:111&action=formedit&returnto=Broken | |||
}} | |||
=== Left to do === | |||
*make new page have name as determined by form <unique number> |
Latest revision as of 12:59, 2024 May 14
Create a link that will call Form:Broken to generate a page in the Broken: namespace with name of current date time.
Form use (ie presence of "edit with form" tab) is set in North Forge:Broken.
The creation of the random page name in the Broken namespace is defined within Form:Broken's info tag.
Opening form with pre-filled field:
But that creates a specifically named page. How would I let the form take care of naming as per its <unique number> setting? Posted here.
- suggested change:
- suggested next:
steps |
|
Left to do
- make new page have name as determined by form <unique number>