You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Gary Kephart <ga...@pobox.com> on 2022/09/24 01:37:57 UTC

CategoryHierarchyPlugin

Here's a plugin I wrote that you might be interested in. It displays all 
of the categories on a site in a hierarchical format using "%%collapse". 
All it needs is the prefix that you use for categories, and it defaults 
that to "Category." like Wikipedia uses. Visit 
https://encyclopaedia-wot.org/Wiki.jsp?page=Special.Categories to see it 
in action.

Gary

-- 
Gary Kephart
Facebook: gary.kephart
Twitter: @garykephart

"The penalty that good men pay for not being interested in politics is to be governed by lesser men." -- Plato.

Re: CategoryHierarchyPlugin

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi,

incredibly late, but somehow this got piled under a ton of other mails and
I missed it :-/

The plugin indeed seems interesting, would you like to send a PR to JSPWiki
with it? :-) some remarks on the code

- classes should contain the Apache License header
- package would need to change to org.apache.wiki.plugin
- displayed texts would need to be i18nized
- an associated unit test would be very nice


cheers,
juan pablo

On Sat, Sep 24, 2022 at 7:55 AM Gary Kephart <ga...@pobox.com> wrote:

> Here's a plugin I wrote that you might be interested in. It displays all
> of the categories on a site in a hierarchical format using "%%collapse".
> All it needs is the prefix that you use for categories, and it defaults
> that to "Category." like Wikipedia uses. Visit
> https://encyclopaedia-wot.org/Wiki.jsp?page=Special.Categories to see it
> in action.
>
> Gary
>
> --
> Gary Kephart
> Facebook: gary.kephart
> Twitter: @garykephart
>
> "The penalty that good men pay for not being interested in politics is to
> be governed by lesser men." -- Plato.
>