MediaWiki:Common.js/MessageWallGreeting.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* Add a button to edit Message Wall Greeting * By: User:Eladske, modified by User:The 888th Avatar */ function EditGreeting { if (wgCanonicalNamespace == 'Message_Wall' && wgAction != 'history') { if (wgTitle == wgUserName) { $('.WikiaMainContent').prepend('  Edit greeting	 '); }	} } addOnloadHook(EditGreeting);