Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

North Forge:Broken by link: Difference between revisions

From North Forge
No edit summary
No edit summary
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
{{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
* passing tool name
* passing tool name
** {{#formlink:form=Broken|link text=test|returnto=Broken|query string=Broken[tool]=Test tool}}  
** {{#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:
works for non-logged in users:
** 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
}}
 
trying to pre-fill field:  
* https://nf.squirrelslair.ca/index.php?title=Broken:111&action=formedit&returnto=Broken&Broken%5Btool%5D=Test%20tool


=== Left to do ===
=== Left to do ===
*add tool name to link
*add tool name to link

Revision as of 21:45, 2024 April 29

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:

steps   

Left to do

  • add tool name to link