Extension:SocialMediaImage

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
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

Check usage (experimental)

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

[edit] Installation

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");


[edit] Setting the page description

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

[edit] Reporting bugs

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

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox