FANDOM


FacebookWidget is a script that adds a Facebook widget into your wiki's right rail using jQuery library.

Installation

Configuration

You have to create the following MediaWiki pages on your wiki to make this script works. All MediaWiki pages relating to the configuration of FacebookWidget starts with MediaWiki:Custom-FBWidget-config- - and after it goes the name of the configuration option.

Option Description Default value
page

Name of the page.

E.g. the getFandom fragment of www.facebook.com/getFandom/

width Width of the widget 300
height Height of the widget 130

Changelog

August 1, 2018 (v1.0)
Rail and Luqgreg: published on Fandom Developers Wiki.
August 9, 2018 (v1.1 | diff)
Rail: removed unnecessary variable and encoded URL characters from code, changed default width to 300.
August 12, 2018 (v1.2 | diff)
Rail: script returns an error message in console if config page doesn't exist.


Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+