Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
//catALot///////////////////////////////////////////////// Cat-a-lot user preferences //////////window.catALotPrefs={"watchlist":"preferences","minor":true,"editpages":true,"docleanup":false,"subcatcount":51};////////////////////////////////////catALotEnd///** * Ajout d'un sous-titre * * Fonction utilisée par [[Modèle:Sous-titre]] * * La fonction cherche un élément de la forme * <span id="sous_titre_h1">Sous-titre</span> */functionsubTitleH1($content){$('#firstHeading > #sub_title_h1').remove();var$span=$content.find('#sub_title_h1');if($span.length){$span.prepend(' ');$('#firstHeading').append($span);}}mw.hook('wikipage.content').add(subTitleH1);