MediaWiki extensions manual
RemoveRedlinks
Release status: experimental
Implementation Parser extension
Description This extension removes red links (to non-existing pages) for users not logged in.
Author(s) Malte Ahrholdt (Wikimaltetalk)
Latest version 0.1 (2020-04-09)
MediaWiki 1.32
License GNU General Public License 2.0 or later
Download

GitHub:

Note:
No localisation updates are
provided by translatewiki.net .

Hooks used
  • HtmlPageLinkRendererBegin
  • PageRenderingHash

The RemoveRedlinks extension disables red links to non-existing pages to users which are not logged in. Especially when users not logged in do not have editing privileges, the red visualization of wikilinks to non-existing pages is more confusing than helpful. The red links are still shown to logged in users in order to facilitate editing.

Installation

  • Download archive, extract to temporary folder and place the file(s) in a directory called RemoveRedlinks in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'RemoveRedlinks' );
    
  • Yes Done โ€“ Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

None.

User rights

None.

See also

This extension is based on a previous work by User:๐Ÿ˜‚, but has been modified and updated. Re-using this extension's name and re-establishing its functionality as it has been abandoned since 2012.

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.