Extension:BrokenLinks

This special page was written for a small wiki (150 articles) which has a small editing team. We wanted a quick(er) way to check external links throughout the article without having to visit each article to do so. This was written to help our administration, just thought someone else somewhere might want the same thing.

The page will collect URLs from table Manual:Externallinks_table and check each URL in turn for a successful server response. It then reports those links, and the page(s) they appear on, which fail to respond.

If you're looking for a tool to use on a large wiki, try: http://en.wikipedia.org/wiki/User:Dispenser/Link_checker

News

 * 2009-06-09: Released version 0.1

Compatibility
Tested on our release of MediaWiki 1.14.0 only.

Usage
Install, as per the instructions below, then go to your wiki/Special:BrokenLinks. Select the number of errors you wish to report on and click the button.

Since the script simply steps through each URL in turn the response may take some time, as each URL will have a timeout to observe.

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

extensions/BrokenLinks/BrokenLinks.js
That's the lot.