Extension:LinkTitles
From Linux Web Expert
LinkTitles Release status: stable |
|
---|---|
Implementation | Page action |
Description | Automatically adds links to words that match titles of existing pages. |
Author(s) | Daniel Kraus (bovendertalk) |
Latest version | 8.1.1 (2024-01-05) |
MediaWiki | 1.35+ |
PHP | 5.3+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub:
<translate> Note:</translate> README.md What's new? |
Expand | |
Expand | |
Expand | |
Expand | |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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:
- 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. - 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.
- 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
- <translate> <tvar name=1>Download, extract</tvar> and place the file(s) in a directory called <tvar name=name>
LinkTitles
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'LinkTitles' );
- Configure as required.
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Usage and configuration
Usage and configuration information can be found in the README.md file in the extension's repository.
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Extensions without an image
- Page action extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in GitHub version control
- Extensions which add rights
- MultiContentSave extensions
- InternalParseBeforeLinks extensions
- GetDoubleUnderscoreIDs extensions
- All extensions
- Extensions not in ExtensionJson