Categories and SubPages as it pertains to the Wiki Playbook
Andrew Sayers
andrew-bugs.launchpad.net at pileofstuff.org
Mon Jul 27 21:25:23 UTC 2009
Hi Matthew,
Sorry for the delayed reply - I wanted to read up on templates etc.
before responding, as your post gave me some good ideas.
First, I'm ashamed to admit that I've been mentally tuning out the
"choose a page template" options in the "create a new page" page,
thinking they were just more similar page names. I would be more likely
to see them if they were of the form "Template:Foo". That's another
issue for another day though.
My interest in this discussion is more about the "how" than the "what",
so my answers about content will be a bit half-hearted I'm afraid.
Your analysis is almost right, except that I propose to include the
category page itself in all pages in the category, and to use sub-pages
as landing pages. I've now updated the category concept so that
category pages redirect to the relevant landing page, which I hope is an
acceptable compromise.
To unpack the problem a bit, a perfect version of my proposal would
satisfy all of the following conditions:
1. Category names in [[FindPage]] make sense
2. Page authors only have to add one simple thing to their page
3. [[CategoryFoo]] is a landing page for everything in category foo
I can satisfy conditions [1] and [2] by asking page authors to include this:
----
<<Include(Category/Foo/Bar)>>
Or I can satisfy [2] and [3] by asking page authors to include this:
----
<<Include(Category/Foo/Bar:Footer)>>
Or I can satisfy [1] and [3] like this:
<<Include(Category/Foo/Bar)>>
----
Category/Foo/Bar
But I can't think of a way to satisfy all three conditions at once.
Given that category creators are likely to more skilled than readers or
page authors, and categories will be created less often, I chose [1] and
[2]. As I said above, I hope that using a #redirect to send users who
visit [[Category/Foo/Bar]] to [[Category/Foo/Bar/CategoryInfo:About]]
will be a good enough compromise.
Based on your suggestion, I've now created a page that would become
[[CategoryTemplate]]. As to manpower and complexity, I defer to Marc
(and everyone else) - I'm too close to the issue to judge difficulty per
page, and too far from the content to judge the number of pages.
- Andrew
[1]https://help.ubuntu.com/community/WikiSandBox/CategoryConcept/TemplateCategory?action=show
More information about the ubuntu-doc
mailing list