Extensió:SecureLinkFixer

From mediawiki.org
This page is a translated version of the page Extension:SecureLinkFixer and the translation is 88% complete.
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.
MediaWiki extensions manual
SecureLinkFixer
Release status: stable
Implementation Parser extension
Description Reescriu les URL a HTTPS si el domini sempre requereix HTTPS.
Author(s) Kunal Mehta (Legoktmdiscussió)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.42
License GNU General Public License 3.0 or later
Download
README
Quarterly downloads 29 (Ranked 120th)
Public wikis using 1,070 (Ranked 259th)
Translate the SecureLinkFixer extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

L'extensió SecureLinkFixer automàticament reescriu les URL a HTTPS si el domini sempre requereix HTTPS. Utilitza la llista de precàrrega HSTS del Mozilla per obtenir la llista de dominis.

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.

Instal·lació

  • Download and move the extracted SecureLinkFixer folder to your extensions/ 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Notes

La llista de dominis s'actualitza setmanalment per un script a l'eina slf del Toolforge.

Inspiració