More actions
Ttenbergen (talk | contribs) No edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
The creation of the random page name in the Broken namespace is defined within [[Form:Broken]]'s info tag. | 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 | * Using form link | ||
** {{#formlink:form=Broken|link text=test|returnto=Broken}} - this doesn't work for non-logged-in users | ** {{#formlink:form=Broken|link text=test|returnto=Broken}} - this doesn't work for non-logged-in users | ||
** {{#formlink:form=Broken|link text=test|returnto=Broken|query string=Broken[tool]=Test tool}} | * 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 | |||
}} | |||
* https://nf.squirrelslair.ca/index.php?title=Broken:111&action=formedit&returnto=Broken | |||
=== Left to do === | === 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>