Xaprb

Stay curious!

Archive for the ‘wiki’ tag

How to add a wiki homepage, sidebar, and TOC in Google Code

with 4 comments

I just adore Google Code. But the default wiki view (a list of pages, sorted by last-modified) is lacking something. Fortunately, it’s fixable. Here’s the before:

Default wiki list

Default wiki list

And here’s the after:

Wiki with sidebar and default page

Wiki with sidebar and default page

Here’s how:

  1. Create a wiki page called TableOfContents, or something like that. Using normal wiki syntax, enter links and text for your table of contents. The best way to do this is to use bulleted lists to organize and outline the pages. Keep in mind that we’ll use this same text for the sidebar, so keep it brief.
  2. Go to Administer/Wiki and enter that wiki page’s name in the “Wiki Sidebar” box. Save the changes.
  3. Go to Administer/Tabs and enter the same page in the Wiki box. Save the changes.

Now both the wiki “homepage” and the sidebar will contain the page you created. No more ugly list-of-pages. And as you navigate through the wiki pages, the sidebar automatically expands and closes the outline to show where you are.

If you want, you can use a different homepage and sidebar, but I’ve found that it works well for me to use the same page for both. It’s a preference, that’s all.

There’s one more trick I’d like to share: you can add the text <wiki:toc /> at the top of any page to create a small table of contents for that page. There are ways to customize it — check the documentation for more options.

Written by Baron Schwartz

July 1st, 2009 at 10:29 am

My favorite wiki is Dokuwiki

with 2 comments

I really like Dokuwiki. I remember looking at it many years ago (even then, there were way too many wikis) but for some reason my company or project at the time didn’t choose it. Maybe this was the company that decided Sharepoint was better, I don’t remember. (They never did understand why a collection of Word documents was inferior to a wiki.)

I’ve been using it for a while now, and of all the wikis I’ve used, which are quite a few, it is easily the nicest. It has such nice conventions — once you learn what they are, and use them to your advantage, everything gets so easy. Example: being able to name pages with [[brackets in the flow of text]]. And there are many more things; I don’t want to start any heated debates about it, but in my opinion, it hits exactly the right balance between simplicity and power.

Written by Baron Schwartz

March 31st, 2009 at 11:04 am