User:W17t/common.js

/* cologne blue does it by default; ?useskin=cologneblue https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering https://en.wikinews.org/wiki/Help:User_style#Moving_categories_to_top

/* https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-gadgets under Appearance: Place the category box above all other content

jQuery( function { if (mw.config.get('wgCanonicalNamespace') === "Special") return; var cats = document.getElementById('catlinks'); var bc = document.getElementById('bodyContent'); if ( bc !== null ) { bc.insertBefore(cats, bc.childNodes[0]); } } );