User:Yahya/QID.js

mw.loader.using('mediawiki.util', function { if ( mw.config.get('wgNamespaceNumber') !== -1) { var shortLink = function($) { var sll = mw.config.get( 'wgWikibaseItemId' );

if ( mw.config.get("skin") === "minerva"){ $("#section_0").after(sll) ; } else { $("#firstHeading").after(sll) ; } }; $(document).ready(shortLink) ; } });