User talk:Ioeth/friendlytabs.js
Incompatible with new vector skin
[edit]This script breaks vector visually, e.g. the edit and view source tabs move up a bit. The reason is that the innerHTML of document.getElementById( FriendlyConfig.idsToRename[i].id ).firstChild.innerHTML
in vector is a span with the caption in it, not just the caption text. This can be fixed in several ways, e.g. you could use a loop to go down until there are no children, and then modify the last childs innerHTML to the new caption. -- Nx/talk 10:05, 4 July 2009 (UTC)
- This works with both monbook and vector, under Firefox 3.5 and opera 10. I couldn't test Internet Explorer as I'm on Linux. -- Nx/talk 11:11, 4 July 2009 (UTC)
- Fixed, thanks. And yes, it works in IE, IE 8 at least. But it's probably the only part of Friendly to work in IE anyway, so ... :) Amalthea 12:22, 4 July 2009 (UTC)
- Great, thanks! -- Nx/talk 13:19, 4 July 2009 (UTC)
- Fixed, thanks. And yes, it works in IE, IE 8 at least. But it's probably the only part of Friendly to work in IE anyway, so ... :) Amalthea 12:22, 4 July 2009 (UTC)
Legacy JavaScript
[edit]Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include addOnloadHook( ... )
needs to be replaced with $( ... )
or $( function() { ... } )
(depending on use); all wgGlobalVariables need to be properly gotten with mw.config.get( 'wgGlobalVariable' )
; and addPortletLink
needs to be called with mw.util.addPortletLink
. Please see MW:ResourceLoader/Legacy JavaScript for details. Thank you. — {{U|Technical 13}} (e • t • c)
21:32, 19 January 2015 (UTC)
Port to modern Twinkle framework
[edit]I've ported this to work with the current Twinkle configuration and module framework here - this allows it to potentially be configured through the GUI. (It depends upon the Twinkle gadget, so it won't suffice as a drop-in replacement for this script.) -- HarJIT (talk) 23:52, 19 February 2017 (UTC) HarJIT (talk) 17:59, 20 February 2017 (UTC)