Improved Facebook Comments

This widget allows you to add Facebook Comments widget to your wiki page. This widget improves on MediaWikiWidgets Facebook Comments widget by using latest Facebook APIs. This allows the widget to work with most browsers, Firefox in particular.

To insert this widget, use the following code:

Parameters

 * appID - Facebook application ID, you need to register your app first
 * url - canonical URL of the page to show comments for. Needed to display comments properly on preview pages and etc. Use code to insert URL of current page
 * num - number of comments displayed (defaults to 5)
 * width - width of the widget in pixels (defaults to 470)
 * dark - if set, will use dark theme instead of light

Administering comments
You have to set fb:app_id open graph property too indicate to Facebook that you're the administrator of the site and can moderate comments and add section.

Just include the following code in your LocalSettings.php: $wgExtensionFunctions[] = 'mww_fb_app_id'; function mww_fb_app_id { global $wgOut; $wgOut->addHeadItem("fb:app_id", ''); }