Extension:Shariff

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
Shariff
Release status: stableCategory:Stable extensions
Implementation User interfaceCategory:User interface extensions
Description Allows to insert 1-click "Like" buttons that do not share user-information using Shariff.
Author(s) Niki Hansche (NikiWikitalk)
Latest version 2.0 (2023-06-30)
MediaWiki 1.34+Category:Extensions with manual MediaWiki version
PHP 7.2+
Database changes No
License MIT License
Download Category:Extensions in GitHub version control
README (GitHub)
Category:All extensions

The Shariff extension allows for 1-click "Like" buttons that do not share user-information using Shariff, thus protecting users privacy.

About Shariff

Give Social Media Buttons Some Privacy

Shariff enables website users to share their favorite content without compromising their privacy. See the demo of Shariff.

Facebook, Twitter and alike supply official sharing code snippets which quietly siphon personal data from all page visitors. Shariff enables visitors to see how popular your page is on Facebook and share your content with others without needless data leaks.

Shariff is an open-source, low-maintenance, high-privacy solution maintained by German computer magazine c't and heise online.

Shariff consists of two parts: a simple JavaScript client library and an optional server-side component. The latter fetches the number of likes, tweets and plus-ones. Share buttons and share counts work without a connection between your visitors' browsers and social networks (unless they decide to share, of course).

Installation

  • Download and place the file(s) in a directory called Shariff in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Shariff' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

Add {{#shariffLike:}} wherever you want to use social media buttons.

Category:All extensions Category:BeforePageDisplay extensions Category:Extensions in GitHub version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:MIT licensed extensions Category:ParserFirstCallInit extensions Category:Stable extensions Category:User interface extensions