Thread:NinjaFatGuy/@comment-12946342-20130715232118/@comment-5557418-20130716000201

You do it from Twitter. Go to Settings > Widgets > Create New > [add information, name, scheme] > Create widget, and then copy the code in the box.

When you copy the code, go onto your wiki and create page called MediaWiki:TwitterWidget, and paste the code you copied to that.

To put it on your main page, simply type TwitterWidget.