Extension:YotpoReviews

If you are using version 0.3 or earlier of this extensions you are advised to immediately upgrade to the recent version of this extension to mitigate a security vulnerability.
MediaWiki extensions manual
YotpoReviews
Release status: stable
Implementation Tag
Description Adds the ‎<yotporeviews> tag that inserts the Yotpo reviews system
Author(s) Sophivorustalk
Latest version 0.4 (2018-09-01)
MediaWiki 1.25+
PHP 5.3+
Database changes No
License GNU General Public License 3.0 or later
Download
Example [1]
$wgYotpoAppKey
‎<yotporeviews>
Quarterly downloads 1 (Ranked 138th)
Translate the YotpoReviews extension if it is available at translatewiki.net

The YotpoReviews extension adds a ‎<yotporeviews> tag that allows to insert the Yotpo reviews system to any page.

Installation

  • Download and move the extracted YotpoReviews folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/YotpoReviews
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'YotpoReviews' );
    $wgYotpoAppKey = 'your-yotpo-app-key';
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

To insert a Yotpo review system into any page, simply edit the page add the following tag to the wikitext:

<yotporeviews />

You can also modify the width, height and alignment of the reviews by setting the following parameters (showed with their default values):

<yotporeviews width="100%" height="100%" align="center"></yotporeviews>