Extension talk:BrokenLinks
This is an excellent tool. Much appreciated! Mxmsj 04:18, 7 October 2009 (UTC)
Nice as far as it goes
Works well, but... I found it necessary to add a couple lines of code to show all successful links, so I could be sure what it was checking. As it turned out, since it only checks links in the external links table, it misses all links embedded in HTML blocks. Will need to write something to extract embedded links. Thanks for the framework, though.
Up to date? SVN?
Does this work on 1.15 and above? Why isn't this in a SVN repo for download and upgrade?
Internet Explorer
The extension works as expected with 1.16 on Firefox 3.6, but results in a page error when using IE7. Has anyone figured this issue out yet?
Turn broken external links red?
editThis would be really cool if it could also turn broken external links red. If it were customizable so that certain links would be delinkified to plain text only, that would be great! I guess what I'm really after is an extension that instantly checks any external link so the user gets immediate feedback if the link is broken, much like how wiki links are instantly red if they don't go anywhere. Badon 02:00, 13 September 2011 (UTC)
Doesn't work in MW 1.18
editCatchable fatal error: Argument 1 passed to ContextSource::setContext() must implement interface IContextSource, null given, called in .../includes/OutputPage.php on line 228 and defined in .../includes/RequestContext.php on line 332
Someone has a fix for this? --Subfader (talk) 08:19, 23 March 2012 (UTC)
Trouble on MediaWiki 1.18.1
editI'm attempting to use this extension on a wiki I've started, and I'm having some trouble getting it working. I've already made the change suggested on the main page to the code at line 59 to get it to work on MediaWiki 1.18, and I'm able to view the plugin under Special:Version and enter Special:BrokenLinks, but when I click on "Get Results" nothing happens. This is the case whether the number of errors is limited to 1 or set to Show All. I've tried using various browsers to the same effect. I copied the extension code very carefully file by file, so I don't believe there were any transcription errors. $wgUseAjax is also set to true. PHP and javascript aren't really my forte, but my best guess is that the javascript simply isn't loading. Anyone have any ideas what might be wrong and how to fix it? I'm stumped. Jarandhel (talk) 05:05, 10 April 2012 (UTC)
- As an addendum, I tried for a workaround by adding the BrokenLinks.js code directly to the custom javascript in my preferences. This does seem to have solved the problem, I have now been able to successfully return a list of errors, though the wait is abysmally long even with the errors set to 1. So I'd say that conclusively points to the problem being with the loading of the javascript. How to fix it, still no idea. Jarandhel (talk) 05:15, 10 April 2012 (UTC)