Extension:DPL Page Name S/N Maker

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
DPL Page Name S/N Maker

Release status:Extension status stable

ImplementationTemplate:Extension#type Parser extension
DescriptionTemplate:Extension#description A Template, based around DynamicPageList,StringFunctions extension (a special version) and Inputbox extension special version, that allows users to create new pages with serial number page names easily.
Author(s)Template:Extension#username Michael Chang
Latest versionTemplate:Extension#version 1.0
MediaWikiTemplate:Extension#mediawiki > 1.5.x
LicenseTemplate:Extension#license No license specified
Download See here
ExampleTemplate:Extension#example see here
ParametersTemplate:Extension#parameters

see here

Translate the DPL Page Name S extension if it is available at translatewiki.net

Check usage and version matrix.

Parameters[edit]

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.

Example[edit]

{{DPL Page Name S/N Maker
 |width=30
 |editintro=
 |namespace=Help
 |editintro=New Issue (Intro)
 |preload=ECP (Form)
 |pad=5
}}

Install[edit]

  • Download DPL , special version Inputbox extension and StringFunctions extension from the page and install them(Please use Version 1.7.6 of DPL ZIP archive).
require_once("$IP/extensions/Inputbox/inputbox.php");
  • Copy the code to your wiki.

Demo[edit]

DPL Page Name SN Maker.png

See also[edit]