Extension: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 以降 |
ダウンロード | |
|
|
Quarterly downloads | 89 (Ranked 98th) |
Public wikis using | 194 (Ranked 413rd) |
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
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'CreatePageUw' );
- Configure as required.
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
設定
Optional parameters for LocalSettings.php :
$wgCreatePageUwUseVE = true;
- use VisualEditor instead of the usual edit form.
Alternatives
この拡張機能は以下のパッケージ/ウィキファームに含まれています: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |