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

--- Comment #1 from Brion Vibber <[email protected]> 2011-07-01 18:31:19 UTC 
---
The JS bindings check explicitly for a link inside a tab with id ca-wikilove;
this works on Vector and Monobook, but on Classic skin (in 1.17 and current SVN
trunk) it ends up with a bare <a href="#">, not inside a surrounding tab. So
the link is there, but isn't found by the bindings in $.wikiLove.init():

        var $wikiLoveLink = $( '#ca-wikilove' ).find( 'a' );
        $wikiLoveLink.unbind( 'click' );
        $wikiLoveLink.click( function( e ) {
            e.preventDefault();
            $.wikiLove.openDialog();
        });


Since there's no actual destination URL specified, the link is also completely
useless if JavaScript is disabled, for any skin.

If a non-JavaScript behavior is not possible, the tab should either not be
added in the original HTML, or it should at least be hidden by default CSS
that's undone when JS is available.

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