User:Frisk/common.js

// Автор Equazcion: http://terraria.gamepedia.com/User:Equazcion // Перевод Alex Great: http://terraria-ru.gamepedia.com/User:Alex_Great // Доработка Ivan-r: http://minecraft-ru.gamepedia.com/User:Ivan-r

var wgNamespaceNumber = mw.config.get( 'wgNamespaceNumber' ); var wgPageName = mw.config.get( 'wgPageName' );

if (wgNamespaceNumber > -1){

var edittopHTML = ' ' + ' [ ' +   'edit introduction' + ' ] ' +   ' '; $('#firstHeading').append(edittopHTML);

}