Jump to content

Extension:LinkGuesser

From mediawiki.org
MediaWiki extensions manual
LinkGuesser
Release status: beta
Implementation Page action
Description For broken internal links, infers possible correct links from search results
Author(s) Jeffrey Wang for MyWikis LLC
Latest version 0.1 (2021-12-11)
MediaWiki 1.35+
Database changes No
$wgLinkGuesserResultsLimit
Licence © MyWikis LLC
Download
README

The LinkGuesser extension overrides default behavior for broken links ("red links") by showing a list of possible correct links and offering the choice of correcting the broken link with a displayed option.

Installation

[edit]

This extension requires CirrusSearch to be installed on the wiki.

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

Configuration parameters

[edit]
$wgLinkGuesserResultsLimit
How many results should be shown for each link guess.

User rights

[edit]

This extension itself doesn't create any new user permissions, but the edit permission is required for using the link fixing mechanism.