User:Psibi tux/common.js

$(document).ready(function {

var pathname = document.URL; if (!(pathname.indexOf("edit") !== -1)) { var title = $("#firstHeading").text; mw.util.jsMessage(title); } });