MediaWiki:Gadget-bottomtabs.js

$(document).ready( function {	var find_ids = [ '#left-navigation', '#right-navigation', '#p-cactions' ], tabs;	for (var i = 0; i < find_ids.length; ++i) {		tabs = $(find_ids[i]).clone(true).attr('id', function(i, a) { return 'b-' + a; });		tabs.find('li').attr('id', function(i, a) { return 'b-' + a; });		mw.util.$content.append(tabs);	} });