FogBugz Technical Support

A forum for technical support discussion related to Fogbugz.
The current FogBugz Knowledge Base can be found at

Posts by Fog Creek Employees are marked:

Release Notes
Network Status

TOC in Wiki?

Can you create a Contents list at the top of a FogBugz Wiki entry? - rather like this example in Wikipedia
Rosemarie G Send private email
Tuesday, December 4, 2007
There is no automatic TOC creation in the wiki at the moment, but this is flirting with #1 on our feature request list for the wiki.  Rest assured it'll be high on our priority list once we ship the PHP/Unix version of FogBugz 6.

If it helps, I usually create my table of contents somewhat automatically by following these steps whenever I want to create a new wiki article: go to my "TOC" wiki page, edit it, and insert a link to the new article.  This lets you create your new wiki article while simultaneously creating your "TOC" link.
Ben Kamens Send private email
Tuesday, December 4, 2007
Thanks for that Ben.  That is what I'm doing now, but
what I would like to do is create mini-TOCs within a wiki entry, so if I have a long entry I can quickly link down from the top of the entry - like using an internal anchor in a web page.
Rosemarie G
Tuesday, December 4, 2007
Gotcha.  That's flirting for #2 or #3 on our list of wiki features ;).  It's on its way as well, also currently being delayed only by the PHP release.
Ben Kamens Send private email
Tuesday, December 4, 2007
This would be a big deal for us to.

I am currently working on a quickie access script that would connect to the DB and build a TOC for a given Wiki. It still requires re-running the script each time the Wiki is updated, but it it works well I might convert it to a SQL trigger so there is no manual interaction required.
Tuesday, December 4, 2007
FWIW, most wiki's seem to lack the auto-TOC functionality. This was a key criteria for us when we evaluated wiki's.
Sam Jones
Wednesday, December 5, 2007
I think the problem is that most wikis don't have the linear type of structure that lends itself to TOCs.

Having said that, I have had some success with CategoryTree in MediaWiki

I had to create a root category for the tree, and if all other articles and categories have a category (so they have a place in the TOC) it will create a dynamic TOC.

You can use the Uncategorized Categories and Uncategorized Pages special pages to find any pages that won't appear in the TOC.
Andrew Rowley Send private email
Thursday, December 6, 2007
Just to clarify, that process is for creating a TOC in Mediawiki, not FogBugz... (discussing TOCs in wikis in general)
Andrew Rowley Send private email
Thursday, December 6, 2007
I wound up creating my own script/wiki template to build a dynamic TOC for Fogbugz Wikis. If anyone is interested I can forward the scripts. They are rough, but they work without modifying the original Fogbugz code. If there is enough Interest I can post them here or e-mail them to anyone who needs them.

There ought to be a place in this forum to post tweaks to the FogBugz community.
JohnFx Send private email
Saturday, December 15, 2007
Hey John,

If you don't mind sharing it, send it to us at and we'll post it on the FogBugz Ecology page at

Eric Nehrlich Send private email
Monday, December 17, 2007
It is on the way to you now with instructions with everything you need to set it up.
JohnFx Send private email
Monday, December 17, 2007
FYI: The TOC solution is posted (thanks Eric) at the following address
JohnFx Send private email
Wednesday, December 19, 2007

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz Bug Tracking and Evidence-Based Scheduling.