MediaWiki:EnableTalkButton.js

(function($) {

"use strict";

$(document).ready(function {

if ($("#enable-talk-button").length) {

var talk_link = 'Talk';

$("#WikiaPageHeader").append(talk_link);

}

});

}(jQuery));