Extension:DPL Page Name S/N Maker
From MediaWiki.org
(Redirected from DPL Page Name S/N Maker)
|
DPL Page Name S/N Maker Release status: stable |
|||
|---|---|---|---|
| Implementation | Parser extension | ||
| Description | A Template, based around DynamicPageList and Inputbox extension special version, that allows users to create new pages with serial number page names easily. | ||
| Author(s) | Michael Chang | ||
| Last Version | 1.0 | ||
| MediaWiki | 1.5.x - 1.11.x | ||
| License | No license specified | ||
| Download | See here | ||
| Example | see here | ||
|
|||
Contents |
[edit] Parameters
All parameters to template are optional.
- namespace: Specifies a Namespace, which the new page will belong to.
- prefix: Specifies a title fragment, which will prefix the submitted title.
- pad: The pad parameters returns the given string extended to a given width. The default value is "5".
- width: Sets the width of the input box.
- preload: Specifies a page title. The contents of the given page will be preloaded into the submission form.
- buttonlabel: Sets the text of the Create button.
- default: Sets the default text of the input box.
- editintro: Specifies a page title. The given page will be included prior to the submission form in the Edit screen.
- break: If set to "yes", this inserts a line break between the text field and button.
[edit] Example
{{DPL Page Name S/N Maker
|width=30
|editintro=
|namespace=Help
|editintro=New Issue (Intro)
|preload=ECP (Form)
|pad=5
}}
[edit] Install
- Download DPL and special version Inputbox and install them.
- Mediawiki 1.12.x (or later):Before you install the special version of Inputbox extension you have to add "$wgParserConf['class'] = 'Parser_OldPP';" in the LocalSetting.php to make its parser function work. It's something looks like following:
$wgParserConf['class'] = 'Parser_OldPP'; require_once("$IP/extensions/Inputbox/inputbox.php");
- Copy the code to your wiki.

