Jump to content
MediaWiki

Extension:LinkTitles

From mediawiki.org
MediaWiki extensions manual
LinkTitles
Release status: stable
Implementation Page action
Description Automatically adds links to words that match titles of existing pages.
Author(s) Daniel Kraus (bovender talk )
Latest version 9.0.0 (2026年08月01日)
MediaWiki 1.39+
PHP 7.4+
Database changes No
see README.md
autolinks, noautolinks
linktitles-batch
Licence GNU General Public License 2.0 or later
Download
README.md
What's new?

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

[edit ]
  • Download, extract and place the file(s) in a directory called LinkTitles in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'LinkTitles' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage and configuration

[edit ]

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

This extension is included in the following wiki farms/hosts and/or packages:

AltStyle によって変換されたページ (->オリジナル) /