MediaWiki:Gadget-editTop.js

// By Equazcion: http://terraria.gamepedia.com/User:Equazcion

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

if (wgNamespaceNumber > -1){

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

}