Extension:YotpoReviews

From MediaWiki.org
Jump to navigation Jump to search
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
Crystal Clear action run.svg
YotpoReviews
Release status: stable
YotpoReviews.png
Implementation Tag
Description Adds the <yotporeviews> tag that inserts the Yotpo reviews system
Author(s) Felipe Schenone (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]
Parameters
$wgYotpoAppKey
Tags
<yotporeviews>
Hooks used
ParserFirstCallInit
SkinAfterContent
Translate the YotpoReviews extension if it is available at translatewiki.net
Check usage and version matrix.

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

Installation[edit]

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

Usage[edit]

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>