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

GitHub:

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


README
CHANGELOG
Example https://bahai9.com
Parameters
$wgBADIConfig
Hooks used
  • BaseTemplateToolbox
  • ArticleViewFooter
  • LoadExtensionSchemaUpdates

What can this extension do?

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

  • 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:
    require_once "$IP/extensions/BADIPagesCreatedLinks/BADIPagesCreatedLinks.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

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

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