Author: lilian.robert
Description:
Hi,
As I need to allow my wiki users to create pages directly from a namespace with the name of the new page prefixed with namespace name, I would like to create a template "NewPageInNamespace" that contains that I can add to my namespaces with this code :
{{NewPageInNamespace|CP}}
where "CP" is the name of the current namespace.
The result should be a simple form where the user can type the name of his new page and, when submitting, the namespace name is automatically added as a prefix of the new page name.
I tried the inputbox extension that seemed interesting to me. Here is the source of my template :
Create in {{{1}}} :
<inputbox>
type=create
default={{{1}}}
break=no
buttonlabel=Create
</inputbox>
But the parameter is not interpreted in inputbox. The field contains "{{{1}}}" instead of "CP".
Regards
Version: unspecified
Severity: normal