Extension:Create Page

Requirements
requires:


 * MediaWiki 1.18 or above - autocomplete requires version 1.25
 * PHP 5.3 or above

Configuration parameters

 * $wgCreatePageEditExisting: Defaults to . Set to   to edit existing pages.
 * $wgCreatePageUseVisualEditor: Set to  to redirect to VisualEditor for page creation..

Usage
The input is placed using the  parser function. It accepts 3 optional arguments. Namespace, default page name and submission button text, in that order.

Most simple usage, which will send the user to, ie create enteredPageName if it does not exist yet.

Create a page in the Course namespace.

A regularly behaving input, but with "Your page name" entered as default value.

Altering the text of the submission button.

Specifying default content for the page to be created.

Display the input on the same line as some text.

Enter the name for a new course:

Version
This is a copy of the release notes file on git, which might be more up to date then this page.

These are the release notes for the Create Page extension.

Version 0.4
(2015-02-23)


 * Added $wgCreatePageEditExisting variable.
 * Added $wgCreatePageUseVisualEditor variable.
 * Added autocomplete to input field.

Version 0.2
(2013-07-07)


 * Added 4th parameter to add intial text to the created page.
 * Use of wfMessage rather then wfMsg.
 * Explicit references to globals in entry point file.

Version 0.1
(2012-2-4)

Initial release.

Internationalization
is fully internationalized. Translation of messages is done through translatewiki.net. The translation for this extension can be found here. To add language values or change existing ones, you should create an account on translatewiki.net, then request permission from the administrators to translate a certain language or languages on this page (this is a very simple process). Once you have permission for a given language, you can log in and add or edit whatever messages you want to in that language.

Authors
has been written by Jeroen De Dauw as Wikimedia Foundation contractor for the Wikipedia Education Program.