Extension:YotpoReviews/de-formal

From Linux Web Expert

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
File:YotpoReviews.png
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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/YotpoReviews/de-formal</tvar>|Download]] and move the extracted <tvar name=name>YotpoReviews/de-formal</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/YotpoReviews%2Fde-formal
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'YotpoReviews/de-formal' );
    $wgYotpoAppKey = 'your-yotpo-app-key';
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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>