link_breakDisplays states of external links found in the wiki
TypeXAR
Developed by

XWiki Development Team

Rating
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Enterprise, XWiki Enterprise Manager

Compatibility

XWiki 3.3M2+

Description

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.

Usage

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.

externallinks.png

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

externallinks-index.png

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.

Tips

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

{{groovy}}
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()}"
{{/groovy}}

Prerequisites & Installation Instructions

The Link Checker isn't enabled by default. To enable it, edit your xwiki.properties 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.
Tags:
Created by Vincent Massol on 2011/11/04 11:21
    

Get Connected