Extension:YotpoReviews

From mediawiki.org
This page is a translated version of the page Extension:YotpoReviews and the translation is 38% complete.
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 拡張機能マニュアル
YotpoReviews
リリースの状態: 安定
実装 タグ
説明 Adds the ‎<yotporeviews> tag that inserts the Yotpo reviews system
作者 Sophivorusトーク
最新バージョン 0.4 (2018-09-01)
MediaWiki 1.25+
PHP 5.3+
データベースの変更 いいえ
ライセンス GNU 一般公衆利用許諾書 3.0 以降
ダウンロード
[1]
$wgYotpoAppKey
‎<yotporeviews>
Quarterly downloads 1 (Ranked 148th)
translatewiki.net で翻訳を利用できる場合は、YotpoReviews 拡張機能の翻訳にご協力ください

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

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のYotpoReviewsという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/YotpoReviews
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'YotpoReviews' );
    $wgYotpoAppKey = 'your-yotpo-app-key';
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

使用法

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>