Extension:SecureLinkFixer

From MediaWiki.org
Jump to navigation Jump to search


MediaWiki extensions manual
Crystal Clear action run.svg
SecureLinkFixer
Release status: beta
Implementation Parser extension
Description Rewrites URLs to HTTPS if domain always requires HTTPS
Author(s) Kunal Mehta (Legoktmtalk)
Compatibility policy release branches
License GNU General Public License 3.0 or later
Download
README
Hooks used
LinkerMakeExternalLink
Translate the SecureLinkFixer extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The SecureLinkFixer extension does automatically rewrites URLs to HTTPS if domain always requires HTTPS. It uses the Mozilla HSTS preload list for the list of domains.

Installation[edit]

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

See also[edit]