User:KockaAdmiralac/common.js

console.log('[KockaDiscussions] Configuring variables'); window.DiscussionsButtonsCustom = { "Talk": "/wiki/User_talk:$1", "Contribs": "/wiki/Special:Contribs/$1", "Block": "/wiki/Special:Block/$1", "User": "/d/u/$2" };

console.log('[KockaDiscussions] Setting onload listener'); document.addEventListener('DOMContentLoaded', function {   console.log('[KockaDiscussions] Importing scripts');    $.getScript("https://dev.wikia.com/load.php?mode=articles&articles=MediaWiki:DiscussionsButtons.js&only=scripts&debug=1"); });