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

Ilmari Karonen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Ilmari Karonen <[email protected]> 2010-05-16 18:49:45 UTC 
---
This appears to be an execution order issue.  Portals added by code that runs
before the jQuery ready handler from
http://bits.wikimedia.org/w/extensions/UsabilityInitiative/Vector/Vector.combined.min.js
that sets up the collapsing function (like
[[commons:MediaWiki:InterProject.js]]) will be processed just fine, but those
added later won't get the necessary post-processing.  

A possible solution could be to expose an addPortlet() function via
wikibits.js, similar to the existing addPortletLink(), which would take care of
all the necessary tweaks.  Such a function could also be made compatible with
all the major portlet-using skins (Vector, MonoBook, Modern, etc.) without
callers having to add custom tweaks to account for random differences in IDs
and class names.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to