https://bugzilla.wikimedia.org/show_bug.cgi?id=33989

--- Comment #6 from Daniel Kinzler <daniel.kinz...@wikimedia.de> 2012-02-07 
10:46:52 UTC ---
Yes, I foudn the same thing:

mode is 0, which means "categories only". So no regular pages are
returned.

The code that generates the link that is used to expand the node was all
jquery-fied, and I wan't able to dig into it yet. Will looks some more later.

However, this has nothing to do with the dropdown - the dropdown only exists on
Special:CategoryTree, but the JS code has to work also on category pages and
any wiki page that embeds a category tree inline.

Basically: whatever code generates the parameters to be used in the ajax call
for
retrieving the categories content must use the mode that was used to generate
the parent node. When I first wrote this, the code that generated the HTML(!)
that represents a category's content would include the HTML code for the expand
bullets, which contained the javascript function call that would retrieve the
node's content with the appropriate parameters (that is, the same mode, etc,
used to generate the present output).

If the node's content is now returned as json, not html (as I think it is, if I
understd the new code correctly), that json has to contain the full option set
to be used to retrieve the content of further sub-categories. I suspect that
this is not the case.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to