I want to build a taxonomy of animals using wiki software. By taxonomy I mean something like this:
Cat
Taxonomy:
kingdom:Animalia class:Mammalia family:Felidae species:F. Silvestris
So, I want to have the possibility:
1) to assign each page to a set of upper categories, which correspond to some animal taxonomy terms (kingdom, class etc)
2) to show all the classes, for example, that belongs to Animalia kingdom. And to retrieve the list via API
3) to show to the reader full taxonomy of the cat in a more or less readable way (something like
https://i.imgur.com/sEfqAHT.png would be ideal)
I looked into namespaces and tags and it seems like they cannot solve my problems.
Indeed, I can use something like
{{tag>kingdom:Animalia class:Mammalia family:Felidae species:F._silvestris subspecies:Cat}}
in Cat article, that is under 'subspecies' namespace. And use kingdom, class, family etc as not nested namespaces. That will solve issue #1 and #3. But how can I solve issue #2? I can not get how to list all the pages that are in class namespace and have kingdom:Animalia tag. Help me please with it. Or tell me, what am I doing wrong...