Last modified: 2008-06-03 10:03:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14389 - Inputbox extension cannot be used in mediawiki parametrized templates
Inputbox extension cannot be used in mediawiki parametrized templates
Status: RESOLVED DUPLICATE of bug 2257
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-03 10:00 UTC by Lilian
Modified: 2008-06-03 10:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lilian 2008-06-03 10:00:22 UTC
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
Comment 1 Roan Kattouw 2008-06-03 10:03:02 UTC

*** This bug has been marked as a duplicate of bug 2257 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links