On Thu, Mar 6, 2008 at 10:40 AM, Andreas Rindler arindler@jenandi.com wrote:
I currently don't deal with categories added through templates. On the edit page, it simply shows the existing (manually typed) categories in a separate inputbox.
There are no methods provided to do this (that I know of). You'll presumably have to write your own. Since you aren't doing template expansion, this might not be *too* hard: you have to skip <nowiki>, <noinclude>/<includeonly>/<onlyinclude>, template parameters, and parameters to at least some extension tags, plus of course HTML attributes and comments. (<onlyinclude> is actually kind of a confusing case, because it changes the semantics of the rest of the page, but you can probably ignore that to begin with, at least.)