Jump to content

Extension:LinkToArchive

From mediawiki.org
MediaWiki extensions manual
LinkToArchive
Release status: unmaintained
Description Add a link to archive.org to every external link
Author(s) Pierre Rudloff (Rudlofftalk)
MediaWiki
Composer archi-strasbourg/link-to-archive
License GNU General Public License 3.0
Download
README
Releases

The LinkToArchive extension adds a link to archive.org to every external link.

Installation

  • Download and place the file(s) in a directory called LinkToArchive in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'LinkToArchive' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
  • fixDeadLinks.php - Maintenance script to replace dead links for the latest archive.org snapshot
  • fixArchivedLinks.php - Maintenance script to replace archive.org links for live links