This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

This tag allows you insert a "trace" of the user's most recently visited pages on the Wiki.

It requires cookies to function correctly. If the user has disabled cookies, no trail is generated.

This tag has been contributed by Ken Liu (ken at


<wiki:Breadcrumbs maxpages="<integer>" separator="<string>" />


How many pages should we track? Default is 10 most recent pages.
HTML snippet for what should be between the listed pages. Default is " | ".
what kind of trail should be left. The default is breadcrumb, this shows all the pages, in order that they were displayed. If you display a page twice, there will be two entries in the breadcrumb. Using visit as the parameter shows the trail as all the pages that were visited. If you visit a page more than once, it is only shown once in the list.


Your trail: <wiki:Breadcrumbs />

Known bugs#

<wiki:Breadcrumbs /> Separator does not clean the HTML it is given - it is thus a security hazard.
8 August 2004
New version uploaded - change was the trailtype support. Tested against the 2.0.54 release, change the log statements to have it work with 2.1.103. -- Foster Schucker
Regarding the FIXMEs in this code. How about something like this (tried in 2.1.106):
out.print(engine.textToHTML(m_wikiContext, "[" + curPage + "]"));

Instead of:

out.print("<a class=\"" + linkclass + "\" href=\"" + 
             engine.getViewURL(curPage)+ "\">" + curPage + "</a>");

Are the square brackets defined somewhere?

I haven't tested extensively to see what it breaks. It'd potentially allow non existant pages and attachments to show up in bread crumbs with their usual styles.


Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
java 5.8 kB 1 09-Aug-2004 05:35 FosterSchucker
« This particular version was published on 07-Oct-2004 09:33 by