Extension:CreateAPage

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear app error.png
CreateAPage

Release status: unstable

Implementation Special page
Description Adds an easy to use interface for creating new articles
Author(s) Bartek Łapiński
Łukasz Garczewski
Przemek Piotrowski
Jack Phoenix
Last version 3.91 (r15554)
MediaWiki 1.18+
License GNU General Public License 2.0 or later
Download
Parameters

$wgCreatePageCoverRedLinks

Hooks used
EditPage::showEditForm:initial

CustomEditor
GetPreferences

Check usage (experimental)

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.

[edit] Installation

  1. Dump the files into $IP/extensions/CreateAPage
  2. Add require_once("$IP/extensions/CreateAPage/CreateAPage.php"); into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version

[edit] To-do list

  1. Rewrite not to require EasyTemplate and YUI (one day...)
    1. JS rewrite almost done on 2 October 2011, but there are some bugs:
      1. Overlay bugs — see CreateAPage.resizeOverlay()
      2. $IP/resources/jquery.ui/jquery.ui.dialog.js is not loaded despite that it's registered as a dependency in the module registration
      3. mw.msg() does not work — <message-name> is returned instead of message text from the i18n file
      4. Various stuff reported by Dantman:
        1. var previewarea = jQuery( '#createpagepreview' );if ( !cDone && ( previewarea === null ) ) { makes no sense
        2. fontSize = '10pt';
        3. eval() is evil
  2. See if PocketSilentArticle is still needed and if not, remove it
  3. Rewrite the upload form to be compatible with 1.16+
  4. End-user documentation (for now, users can refer to the Wikia help page about CreateAPage)
  5. Fix ConfirmEdit by adding a hook into its body file — see http://trac.wikia-code.com/changeset?new=6990@wikia%2Ftrunk%2Fextensions%2FConfirmEdit&old=1711@wikia%2Ftrunk%2Fextensions%2FConfirmEdit

[edit] Parameters

  • $wgCreatePageCoverRedLinks — if set to true, a new option ("Use CreatePage when following broken links") is added to Special:Preferences
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox