Evan Prodromou wrote:
"SS" == Stan Shebs shebs@apple.com writes:
SS> All seems very reasonable; the tags will be invaluable in SS> maintaining indexes like [[list of people]], which is missing SS> thousands of bios that are scattered all over WP now. I SS> thought Magnus or somebody had implemented it already?
There is some code to do categorization, which appears to be mostly commented-out. It finds all the links in a page that start with a language-specific prefix -- most of the languages, including English, don't have the prefix defined -- and collects them into something called "category links". It doesn't do anything with them, though.
There's also a special page for listing categories.
I think this was code that got started and never got finished.
Well, the code *I* wrote (which I assume is what you're talking about) is finished, in the sense of "it works, but it ain't too pretty".
Example: "[[Category:Stuff]]" somewhere in the article will show a link above (similar to language links), leading to the category page ("Category:Stuff"). That will automagically list all pages in that category (meaning, that link there via category link). A category page can be edited like a normal page (the article list is automatically shown below), and can include "super-categories" (e.g., "[[Category:Biology]]" on "Category:Zoology"). Any page can, of course, have many categories.
You'll have to enable categories in LocalSettings, but I forgot how :-(
Magnus