MediaWiki:Common.js: Difference between revisions
Link images in sidebar so they don't show up as unused |
No edit summary |
||
| Line 18: | Line 18: | ||
var link = links[i]; | var link = links[i]; | ||
$("<a>").text(link[0]).attr("href","https://wiki.geministation.com/" + link[0]).append($("<img>").attr("src", link[1])).appendTo(sidebarList); | $("<a>").text(link[0]).attr("href","https://wiki.geministation.com/" + link[0]).append($("<img>").attr("src", link[1])).appendTo(sidebarList); | ||
} | |||
/* Move the vector tabs to the bottom of the main page */ | |||
if($(".page-User_Mr_Pie_5_Sandbox.action-view.skin-vector").length){ | |||
$("#mw-head").clone(true).appendTo($("#bodyContent")) | |||
} | } | ||