Forum:Twitter follow button...

Hi, looking to get this functional for Common.js

Follow @redwallwiki  --LordTBT Talk! 00:59, June 7, 2011 (UTC)


 * Are you just adding a twitter button? Because Twitter buttons aren't placed in common.js, they go on the main page.--


 * Nope, this is not the Twitter feed, this is a Twitter Follow button, and it's designed to place wherever you want. You can actually place a Twitter feed wherever you want too. I know about social media, thanks. -- LordTBT Talk! 04:48, June 7, 2011 (UTC)


 * The easiest method to get this to work is putting the HTML above into a MediaWiki message (e.g. w:c:redwall:MediaWiki:Twitter-button) and then adding it to pages with  (e.g.  ). No JS required. -- Porter21 (talk) 09:46, June 7, 2011 (UTC)


 * When I try this: "The page you wanted to save was blocked by the spam filter.

This is probably caused by a blacklisted link or pagename. The following link, text or pagename is what triggered our spam filter: LordTBT Talk! 12:27, June 7, 2011 (UTC)


 * Eh, why MediaWiki pages are affected by the spam blacklist is beyond me... Oh well, you can still do it similar to your Facebook fanbox embedding.


 * Add to MediaWiki:Common.js:

 function addTwitterButton { $('#twitter-button').append('Follow @redwallwiki '); } $(addTwitterButton);
 * Then simply add  where you want the button to appear. -- Porter21 (talk) 13:29, June 7, 2011 (UTC)


 * Renamed this post and tagging FAQ. -- Fandyllic (talk &middot; contr) 7 Jun 2011 2:18 PM Pacific