[Wikia-l] Category tree
John Beckett
johnb.beckett at gmail.com
Thu Sep 11 11:55:30 UTC 2008
Tim Bartel wrote on 7 August:
>> We use <categorytree> to display categories for browsing. It's
>> irritating how all subcategories are shown with "[+]", yet only
>> a few of them expand. Readers have to click + to find out if
>> further subcategories exist. After a delay, it often says "no
>> subcategories" (and the tree becomes one line deeper to show
>> "no subcategories", making it harder to see the rest of the
>> tree).
>
> Daniel told me:
> "The new version of CT for MediaWiki 1.13 will show [x]
> instead of [+] for empty categories. It can also show the
> number of subcategories, pages and images on each category
> entry. This is based on additional information in the
> database that has become available since 1.13.
>
> I found that this doesn't *always* work, specifically, if you
> look on category pages on wikipedia, this does not seem to
> apply. I have to investigate why, since when testing locally,
> it works fine for me.
> Once 1.13 is out, please test and let me know."
Our wiki is now at 1.13.1. Unfortunately, the category tree [x] feature seems
somewhat broken.
There is a category tree on the right of:
http://vim.wikia.com/wiki/Main_Page
We see "[x] Plugin" and clicking the [x] shows "no subcategories". That's good.
However, clicking the [-] in "[-] Plugin" now shows "[+] Plugin". That's not right.
Worse is that other items like "[x] Usage" do have subcategories.
Is there any logic to how [x] behaves, or is it a bug? Or does the new system need a
few days to extract info from the database so it knows which categories have
subcategories?
John
More information about the Wikia-l
mailing list