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

--- Comment #1 from Krinkle <[email protected]> 2012-03-10 14:19:57 UTC ---
Yes, this is a valid bug. I've reproduced it with the following on
en.wikipedia.org: 

// "easyblock.js" is sysop-only
mw.config.get( 'wgUserGroups' ).push( 'sysop' );
$.getScript('//en.wikipedia.org/w/index.php?title=User:Animum/easyblock.js&action=raw&ctype=text/javascript',
    function () {
        mw.util.addPortletLink( 'p-cactions', '#', 'TEST' );
    }
);

I suggest fixing it by using ".children( 'ul' ).eq(0)" instead of ".find( 'ul'
)"

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