MediaWiki:Common.js

$(document).ready(function {    // Add wrapping div for top navigation menu for better alignment    $('#left-navigation, #right-navigation').wrapAll(" ");

// Add partner logos to sidebar var html = ''; html += ''; html += ''; html += ''; html += ''; html += '<img src="https://static.miraheze.org/cyberlawwiki/a/a8/WuhanU_logo_t.png" alt="Wuhan University logo"></a>';

$('#mw-panel').append(' ' + html + ' ');

// Add wrapper divs to front-page sections $('#mp-tfa, #mp-tfa-h2').wrapAll(" "); $('#mp-itn, #mp-itn-h2').wrapAll(" "); $('#mp-otd, #mp-otd-h2').wrapAll(" ");

// Hide front-page empty table cells $('#mp-dyk .wikitable tbody tr td').each(function {        if(this.textContent.length == 1) {            this.classList.add('is-empty-cell');        }    }); });