User:零式悪魔/wikia.js

/* http://community.wikia.com/wiki/Forum:Message_Wall_info_page#Adding_a_Greeting_button_to_Message_Wall */ function WallTools { if (wgCanonicalNamespace == 'Thread') { $('#WallBrickHeader').append('View History'); }	if (wgCanonicalNamespace == 'Message_Wall' && wgAction != 'history') { $('.WikiaMainContent').prepend(' View History '); if (wgTitle == wgUserName) { $('.UserProfileActionButton').prepend(' Edit Greeting	'); }	} } addOnloadHook(WallTools);