Extension:BADIPagesCreatedLinks

From mediawiki.org
MediaWiki extensions manual
BADIPagesCreatedLinks
Release status: stable
Implementation Skin
Description Allows display of links in toolbox to other wiki or wiki-like sites whereby links will be colored differently depending on whether the page there has been created yet or not. Status determined by response code or Last-Modified HTTP HEAD requests.
Author(s) brettz9talk
Latest version 2.1.1 (2019-12-24)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.34.0
PHP 7.0.33
Database changes Yes
License BSD 3-clause "Modified" License
Download
README
CHANGELOG
Example https://bahai9.com
$wgBADIConfig

What can this extension do?[edit]

The BADIPagesCreatedLinks extension allows display of links in one's toolbox area which lead to other wiki or wiki-like sites whereby links will be colored differently depending on whether the page there has been created yet or not. The status of whether it was created yet or not is determined by Last-Modified or HTTP 200 HTTP HEAD requests.

Caching jobs have been added in v2.0.0 to minimize the burden on the server in needing to make HEAD requests to other sites.

Installation[edit]

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

Configuration parameters[edit]

Configuration is performed through the $wgBADIConfig variable array. See https://github.com/bahaidev/BADIPagesCreatedLinks for details.