Jump to content

Extension:LinkTitles/ja: Difference between revisions

From mediawiki.org
Content deleted Content added
Created page with "Extension:LinkTitles"
(No difference)

Revision as of 08:02, 13 January 2024

MediaWiki 拡張機能マニュアル
LinkTitles
リリースの状態: 安定
実装 ページの操作
説明 Automatically adds links to words that match titles of existing pages.
作者 Daniel Kraus (bovenderトーク)
最新バージョン 8.1.1 (2024-01-05)
MediaWiki 1.35+
PHP 5.3+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
README.md
What's new?
autolinks, noautolinks
linktitles-batch

The LinkTitles extension automatically adds links to existing page titles that occur on a given page. This will automatically cross-reference your wiki for you. The extension can operate in three ways that can be used independently:

  1. Whenever a page is edited and saved, the extension will look if any existing page titles occur in the text, and automatically add links ([[...]]) to the corresponding pages.
  2. Links may also be added on the fly whenever a page is rendered for display. Most of the time, MediaWiki will fetch previously rendered pages from cache upon a page request, but whenever a page is refreshed, the LinkTitles extension can add its page links. These links are not hard-coded in the Wiki text. The original content will not be modified.
  3. Batch mode enables Wiki administrators to process all pages in a Wiki at once. Batch processing can either be started from a special page, or from the server's command line (see below).

Installation

  • Download, extractして、ファイルをextensions/フォルダー内のLinkTitlesという名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'LinkTitles' );
    
  • Configure as required.
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

Usage and configuration

Usage and configuration information can be found in the README.md file in the extension's repository.