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

Daniel Kinzler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|[email protected] |[email protected].
                   |                            |org

--- Comment #7 from Daniel Kinzler <[email protected]> 2012-02-07 
11:33:36 UTC ---
So, it's somehow related to ctOptions on the parent tag not being what they
should be. 

At some point, the PHP code generates a first, static, category tree node.
ctOptions would have to be set on the HTML for that static node somehow by the
PHP code, so it can be picked up from jQuery later, to be used when loading
further (sub)nodes. I couldn't find any PHP code that does this. In stead, it
seems that the jQuery code always falls back to mw.config.get(
'wgCategoryTreePageCategoryOptions' ) (line 93 in ext.categoryTree.js).

My impression is that johnduhart's work to make CategoryTree use jQuery is
incomplete in that respect. I don't know jQuery or the resource loader
framework well enough to really find out how exactly. 

So, I give up and assign the bug to the list.

Generally: action=ajax should be deprecated and CategoryTree should be
rewritten using the API.

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to