RottenLinks demo
| RottenLinks | |
|---|---|
| Documentation | |
| Maintained by WikiTeq? |
No |
| Version | |
This wiki has the RottenLinks extension installed, which adds a new special page, Special:RottenLinks, to show the HTTP status of the various external links included on wiki pages.
The status output should be updated each time the links used on the wiki change, but when first the extension is first installed, you should run a maintenance script to populate the data: php extensions/RottenLinks/maintenance/updateExternalLinks.php.
However, the extension does not automatically update data any time the status of existing links change, only when the specific links used are changed. Accordingly, it can be a good idea to periodically run the maintenance script even after the extension is up and running, so that the stored data reflects the latest status from each link. This wiki has a cron job to run the script at the start of every Tuesday: 0 0 * * 2 /usr/bin/docker exec demowikiteqcom-web-1 php /var/www/mediawiki/w/extensions/RottenLinks/maintenance/updateExternalLinks.php (the references to Docker are because this wiki is running MediaWiki through WikiTeq's docker image, Taqasta).