Extension:CreatePageUw

From mediawiki.org
This page is a translated version of the page Extension:CreatePageUw and the translation is 57% complete.
MediaWiki 拡張機能マニュアル
CreatePageUw
リリースの状態: 安定
実装 特別ページ
説明 Adds Special:CreatePage - one-field form to create a new page.
作者 Edward Chernenkoトーク
最新バージョン 0.1.0
互換性の方針 MediaWiki とともにリリースされるスナップショット。 master には後方互換性がありません。
MediaWiki 1.35+
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgCreatePageUwUseVE
Quarterly downloads 31 (Ranked 111st)
translatewiki.net で翻訳を利用できる場合は、CreatePageUw 拡張機能の翻訳にご協力ください

The CreatePageUw extension adds a special page (Special:CreatePage) that can be used to create a new page. This extension is a modern port of the precursing Uniwiki CreatePage extension.

根拠

New users often ask: "Where do I create a new page?":

You don't want to explain to them about redlinks, send them to some lengthy manual, etc.
Instead, with this extension, you can answer: on [[Special:CreatePage]].

Creating pages in other namespaces

If the user asks "where do I create a new category", you can answer: on [[Special:CreatePage/Category]].

If user visits [[Special:CreatePage/Category]] and types "Cats" in the form, then new page will be called "Category:Cats".
This works with any existing namespace: [[Special:CreatePage/Template]] will create "Template:Cats", etc.

User can override it by explicitly typing the namespace prefix in the form. For example, if user visits [[Special:CreatePage/Help]], but types "Talk:Something", then newly created page will be "Talk:Something", not "Help:Something".

NOTE: we are purposely not adding a dropdown menu "Select namespace", because this extension is aimed at very new users, and they don't know what "namespace" is. The form must be as simple as possible to avoid confusing new users.

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のCreatePageUwという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CreatePageUw
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'CreatePageUw' );
    
  • Configure as required.
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定

Optional parameters for LocalSettings.php :

  • $wgCreatePageUwUseVE = true; - use VisualEditor instead of the usual edit form.

Alternatives