Extension:SecureLinkFixer
This extension comes with MediaWiki 1.35 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
SecureLinkFixer Release status: stable |
|
---|---|
Implementation | Parser extension |
Description | Rewrites URLs to HTTPS if domain always requires HTTPS |
Author(s) | Kunal Mehta (Legoktmtalk) |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | >= 1.43 |
License | GNU General Public License 3.0 or later |
Download | README |
Quarterly downloads | 16 (Ranked 116th) |
Public wikis using | 1,070 (Ranked 259th) |
Translate the SecureLinkFixer extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The SecureLinkFixer extension automatically rewrites URLs to HTTPS if the domain always requires HTTPS. It uses the Mozilla HSTS preload list for the list of domains.
The rewrite is done on-the-fly as pages are parsed. No edits to the wiki are made, and the page source retains the original URL.
Installation
- Download and move the extracted
SecureLinkFixer
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SecureLinkFixer - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'SecureLinkFixer' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Notes
The list of domains is updated weekly by a script in the slf Toolforge tool.
Inspiration
- facebook.com: Upgrades to Facebook's link security
- twitter.com: ajhdock - tweet 970669975861153792
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |