User:Frietjes/mpbullets.js

// This script fixes the view of the old main page bullet template jQuery(document).ready(function($) {

function wpFixMPbullets { var redlinks = document.getElementsByClassName('new'); var elems = []; for( var i=0; i= 0) { elems.push(a); }     }   } } for( var j=0; j<elems.length; j++) { var ul = elems[j].parentNode; var li = document.createElement('span'); li.innerText = '•'; ul.replaceChild(li, elems[j]); var br = document.createElement('br'); ul.insertBefore(br, li); } }

mw.loader.using(['mediawiki.util']).done( function {	wpFixMPbullets; });

});