link_breakDisplays states of external links found in the wiki
Developed by

XWiki Development Team

0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Standard


XWiki 3.3M2+


This application depends on the Link Checker Module.

Displays states of external links found in the wiki. The state is displayed as an HTTP Response Code.


Navigate to the XWiki.ExternalLinks page an you'll see a list of all external links found in your wiki as shown below. Note that the links are discovered only when someone navigates on a page containing external links.


If you have the Index Application installed then you'll also see new tab for External Links appearing on the Main.AllDocs page:


Security Implications

Note that this application has some security implications since it allows everyone having access to the AllDocs page to see all external links available anywhere in the wiki, even links that are on page for which they don't have access to. To mitigate this risk, it's possible to change the Page Rights for the XWiki.ExternalLinks document.


If you wish to check the Link Checker indexation queue size you could use the following in a page (you'll need Programming Rights):

import com.xpn.xwiki.web.*
import org.xwiki.rendering.transformation.*

def checker = Utils.getComponent(Transformation.class, "linkchecker")

print "Link checker queue size = ${checker.linkQueue.size()}"

Prerequisites & Installation Instructions

The Link Checker isn't enabled by default. To enable it, edit your file and add the linkchecker transformation. For example:

rendering.transformations = macro, icon, linkchecker

If you activate the Link Checker feature you need to be aware that in a multiwiki setup any user in a subwiki will be able to see all link statuses of all subwikis. Since this could be a privacy issue you need to be sure you're ok with this. We're planning to find a solution for this in the near future.


Get Connected