Author: Amalthea.wikimedia
Description:
The divs "namespaces" and "views" now have a span tag inside the anchor, apparently for styling reasons.
Is there any way we can do without them? It's inconsistent with all other navigation lists where the text node is a direct child of the anchor, and it also means that the addPortletLink function from wikibits will not work with those two navigational areas.
Try the bookmarklet
javascript:addPortletLink("views", "#", "test");void(0)
on any vector-skinned page.
I realize that those navigational areas are supposed to be as empty as they are, for usability reasons, however established editors will still want an easy possibility to add additional links to those areas, and it would be really helpful if we could continue to use one common function to do that.
A possibility would be do add support for both ways in wikibits.js, but the far cleaner solution would be to stick to the established standard.
Version: unspecified
Severity: enhancement