Release status: beta
|Description||Given the name of a template page generates a form that the user can populate with values of the template's parameters; when the hit the 'create' button, generates a new page, with name of their choice, based on the parameterised template|
|Author(s)||Julian Douglas St Michael Porter (julianportertalk)|
|Latest version||0.1 (2010-11-09)|
|Translate the MakeArticle extension if it is available at translatewiki.net|
|Check usage and version matrix.|
What can this extension do?Edit
Say you have defined a template,
Template:MyTemplate which contains a number of parameters. Adding the following to a page:
will generate a form which lets you specify values for:
- A page name
- Each of the parameters in
When you click on the 'create' button you are taken to a newly created page with the specified name and based
Template:MyTemplate populated with the values you specified. So the extension provides a simple user interface for creating pages from parameterised templates.
What this means is that this extension is a more flexible version of extensions like CreateArticle, in that it can work with any template, and parses the template on the fly to determine what fields there are in it that the user needs to fill in.
Template:MyTemplate is a parameterised template.
To install this extension:
- Place the downloaded file
makearticle.tar.gzin the folder
$IP/extensions, where $IP is the configuration variable defined in LocalSettings.php that points to the root of your MediaWiki install.
- Uncompress and extract the archive, resulting in the creation of a folder
$IP/extensions/makearticlecontaining two files:
- Add the following to LocalSettings.php:
I would like to acknowledge the authors of the following extensions, as they were extremely useful to me as a source of ideas while I was developing the extension: