← Back to team overview

launchpad-dev team mailing list archive

Re: dev wiki, and silly launchpad tricks

 

On Sun, 13 Sep 2009 17:13:55 -0400
Barry Warsaw <barry@xxxxxxxxxxxxx> wrote:

> On Sep 13, 2009, at 4:07 PM, Gavin Panella wrote:
> 
> > I've never really used them, but can we use categories in Moin to
> > achieve a bit of both? As in, put the individual tips in the "right"
> > place, mark them with a TipsAndTricks category, then link  
> > prominently to
> > that category from somewhere, er, prominent.
> 
> It's good idea!  I can see how to add a page to an existing category,  
> but I can't figure out how to add new categories.  Is that something a  
> wiki admin has to do?

I think you just add a page called CategoryFoo (which can be based on
CategoryTemplate), then add the following two lines at the bottom of
the wiki page you want to add to the category:


----
CategoryFoo


(I'm not sure if the ---- is necessary and I didn't experiment, but it
seems to be a good pattern to follow.)

The equivalent for a reST page would seem to be:


----

`CategoryFoo`_


However, while that links to the category page fine, the page isn't
linked back from CategoryFoo. It seems that Moin doesn't grok category
links from reST pages:

  http://moinmo.in/FeatureRequests/ReStructuredText/Categories

Rats.

Attachment: signature.asc
Description: PGP signature


Follow ups

References