Extension:Auto Create Category Pages

This page is a translated version of the page Extension:Auto Create Category Pages and the translation is 82% complete.
MediaWiki 拡張機能マニュアル
Auto Create Category Pages
リリースの状態: 安定
実装 ページの操作
説明 Creates stub category pages automatically
作者 Dror S. [FFS] (maintainer), created by Merrick Schaefer,Mark Johnston Evan Wheeler & Adam Mckaig at UNICEF
最新バージョン 1.0.4 (2024-09-05)
互換性の方針 master は後方互換性を維持しています。
MediaWiki 1.25+ (see #MediaWiki compatibility)
ライセンス GNU 一般公衆利用許諾書 3.0
ダウンロード
README
$wgAutoCreateCategoryStub
translatewiki.net で翻訳を利用できる場合は、Auto Create Category Pages 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

Auto Create Category Pages (what a mouthful!) automatically creates stub pages for non-existent categories as soon as they are linked to, avoiding the confusing default behavior of "There is currently no text in this page..." or redirecting to the edit page.

ダウンロード

For MediaWiki 1.25+, use the master branch - that is always the most recent stable version. You can download it by clicking on "Download snapshot" and then selecting "master".

MediaWikiとの互換性

Version 1.0.0 and beyond are compatible with MediaWiki 1.25-1.41. The previous version should work with MediaWiki 1.21-1.24. Version 1.0.4 is compatible from 1.40+.

インストール

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

設定

Auto Create Category Pages has the following 3 messages in the MediaWiki namespace, which can be changed to accommodate your preferences:

メッセージ Use
autocreatecategorypages-stub Used as stub when creating a category page. Parameter $1 is replaced with the category's title.
autocreatecategorypages-createdby Used as an "edit summary" when creating a category page.
autocreatecategorypages-editor Used as username when creating a category page automatically.

If the user does not exist, it will be created automatically.

The text of 'autocreatecategorypages-stub' can also be overridden using $wgAutoCreateCategoryStub, which can contain wikitext as well.

It is recommended to use a template as the stub, so you always change the default text for all created stubs.


クレジット

Auto Create Category Pages was originally created as "Uniwiki Auto Create Category Pages" by Merrick Schaefer, Mark Johnston, Evan Wheeler & Adam Mckaig, as part of the Uniwiki project for UNICEF.

As Uniwiki extensions for MediaWiki are not maintained by the original developers anymore, according to an e-mail by Mark Johnston from Nov 9, 2012, the maintenance of this one extension was taken up by Dror S. [FFS].

更新履歴

  • Version 1.0.4, 2024-09-05: [bugfix] Replaced deprecated method to function with 1.42+, by PixDeVl
  • Version 1.0.3, 2017-05-10: [bugfix] The extension caused page save to fail if no it had no categories
  • Version 1.0.2, 2017-03-25: A much improved query of pre-existing categories, by Brent Laabs (labster)
  • Version 1.0.1, 2016-02-01: Fix bug where only the first new category page was actually created
  • Version 1.0.0, 2015-05-24: Convert to extension registration for MW 1.25
  • Version 0.2.0, 2013-10-28: updated to work with MW 1.21.x & MW 1.22alpha.
  • Version 0.1.0, 2008-08-01: original release.

関連項目