Extension:CreateAPage

Category:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
CreateAPage
Release status: betaCategory:Beta status extensions
Implementation Special page Category:Special page extensions
Description Adds an easy to use interface for creating new articles
Author(s)
Latest version 4.2
MediaWiki 1.43+Category:Extensions with manual MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
$wgCreatePageCoverRedLinks
Quarterly downloads 8 (Ranked 108th)
Translate the CreateAPage extension if it is available at translatewiki.net
Category:All extensions

CreateAPage extension adds an easy to use interface for creating new articles. The interface is accessible at Special:CreatePage.

This extension was forked from r15554 of Wikia's version. Wikia dropped support entirely for this extension in February 2012.

Installation

  • Download and move the extracted CreateAPage folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CreateAPage
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'CreateAPage' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

End-user

Go to Special:CreatePage as a user who has the createpage user right. Additionally, if the $wgCreatePageCoverRedLinks option is set to true in the wiki's LocalSettings.php file, users can choose on their preferences (Special:Preferences) to use the CreateAPage editor for all content namespace page creations.

Wiki administrator

You may need to customize the message MediaWiki:Createpage-template-infobox-format, especially if your wiki's content language is not English and your infobox templates are not prefixed with the prefix "Infobox". This message contains a regular expression that is used to determine what is and what isn't an infobox for the purposes of rendering an infobox via the CreateAPage interface.

Once that's done, you need to set up some createplates. Create the createplates you want (e.g. MediaWiki:Createplate-actor, MediaWiki:Createplate-character, etc. for a wiki about a television show or a movie/movie series) and ensure that these contain the necessary special markup needed; refer to the old Wikia help page for more info.

Once that's done, edit the list of available createplates at MediaWiki:Createplate-list to make the new createplates usable at Special:CreatePage for users. The syntax for that page is createplate name (e.g. actor in MediaWiki:Createplate-actor), followed by a pipe, followed by the name of the createplate as it should be displayed to end-users on Special:CreatePlate. Entries are separated by newlines. For example:

actor|Actor or actress
character|In-universe character
Blank|Other

You'll likely want to keep the blank createplate there to ensure nothing breaks and to offer users a less structured approach at creating a new page, because there are no doubt some cases where that is entirely warranted.

To-do list

  1. Rewrite not to require EasyTemplate (one day...); Mustache is the way to go nowadays
  2. Proper, extensive end-user documentation in addition to the Usage section above. For now, users can refer to the Wikia help page about CreateAPage; there's also this example createplate and the template it uses.

Parameters

  • $wgCreatePageCoverRedLinks — if set to true, a new option ("Use CreatePage when following broken links") is added to Special:Preferences
Category:Extensions by Fandom Category:Extensions by ShoutWiki
Category:All extensions Category:Beta status extensions Category:CustomEditor extensions Category:EditPage::showEditForm:initial extensions Category:Extensions by Fandom Category:Extensions by ShoutWiki Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:GetPreferences extensions Category:Special page extensions