Extension:CreateAPage
From MediaWiki.org
|
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 |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes |
||
|
|||
|
|||
|
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
- Dump the files into $IP/extensions/CreateAPage
- Add require_once("$IP/extensions/CreateAPage/CreateAPage.php"); into the wiki's LocalSettings.php
- Installation can now be verified through the wiki's Special:Version
[edit] To-do list
- Rewrite not to require EasyTemplate
and YUI(one day...)- JS rewrite almost done on 2 October 2011, but there are some bugs:
- Overlay bugs — see CreateAPage.resizeOverlay()
- $IP/resources/jquery.ui/jquery.ui.dialog.js is not loaded despite that it's registered as a dependency in the module registration
- mw.msg() does not work — <message-name> is returned instead of message text from the i18n file
- Various stuff reported by Dantman:
- var previewarea = jQuery( '#createpagepreview' );if ( !cDone && ( previewarea === null ) ) { makes no sense
- fontSize = '10pt';
- eval() is evil
- JS rewrite almost done on 2 October 2011, but there are some bugs:
- See if PocketSilentArticle is still needed and if not, remove it
- Rewrite the upload form to be compatible with 1.16+
- End-user documentation (for now, users can refer to the Wikia help page about CreateAPage)
- 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