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

       Web browser: ---
             Bug #: 29567
           Summary: addPortletLink adds extranious <span>
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


By default, the function mw.util.addPortletLink wraps a link in
<li><span></span></li>, when in fact, the only place where this is needed is in
a vector tab.

Attached patch only wraps a link inside a span when it as placed in a menu with
a vectorTabs class, resulting in a consistent DOM structure amongst different
portlet in a menu section.

-- 
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