拡張:リンクタイトルの

From mediawiki.org
This page is a translated version of the page Extension:LinkTitles and the translation is 100% complete.
MediaWiki 拡張機能マニュアル
LinkTitles
リリースの状態: 安定
実装 ページの操作
説明 既存のページのタイトルに一致する単語へのリンクを自動的に追加します.
作者 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

LinkTitles の拡張子は,特定のページに存在する既存のページタイトルのリンクを追加します. ウィキを自動的に 参照します 拡張は3つの方法で動作し,独立した使用が可能である.

  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).

インストール

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

使用方法と構成

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