User talk:Ioeth/friendlytabs.js
Incompatible with new vector skin
editThis 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)
Legacy JavaScript
editHello! 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
editI'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)