Extension:SocialMediaImage

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
SocialMediaImage
Release status: beta
Description Gets your site logo and page title to show up in links from social media sites (such as Facebook)
Author(s) Barry Coughlan
MediaWiki Tested on 1.16
License GPL 2.0 or higher
Download Here (github)
Hooks used
OutputPageBeforeHTML
Translate the SocialMediaImage extension if it is available at translatewiki.net
Check usage and version matrix.

When using the SocialMediaImage extension, links to your site from social media sites such as Facebook will show your logo and page title automatically.

Installation[edit]

Download the package using the download link in the sidebar. Unpack SocialMediaImage.php to /extensions/SocialMediaImage/ (inside your Mediawiki installation).

In your LocalSettings.php, add the following line to the bottom end of the file:

require_once("$IP/extensions/SocialMediaImage/SocialMediaImage.php");


Setting the page description[edit]

If you want a custom description in the link (and for Google results), use Extension:MetaDescription

Reporting bugs[edit]

Please use the GitHub issue tracker to report any bugs or other issues.