Extension:PictureGame

From mediawiki.org
This page is a translated version of the page Extension:PictureGame and the translation is 43% complete.
MediaWiki 拡張機能マニュアル
PictureGame
リリースの状態: ベータ
実装 特別ページ
説明 Allows making picture games
作者 Aaron Wright, Ashish Datta, David Pean, Jack Phoenix
最新バージョン 4.4.0
MediaWiki 1.39+
データベースの変更 はい
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード
  • $wgCreatePictureGameThresholds
  • picturegameadmin
Quarterly downloads 1 (Ranked 148th)
translatewiki.net で翻訳を利用できる場合は、PictureGame 拡張機能の翻訳にご協力ください
問題点 未解決のタスク · バグを報告

PictureGame extension allows users to create picture games and take them.

Special:PictureGameHome is the main page for picture games.

See Help:Extension:PictureGame for more information on how to use this extension.

依存関係

  • New database tables: picturegame_images and picturegame_votes

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のPictureGameという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PictureGame
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'PictureGame' );
    
  • 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

利用者権限

This extension adds one new user right, picturegameadmin, which allows administering picture games. By default sysops and staff have this user right.

User points

名前 説明
$wgUserStatsPointValues['picturegame_created'] set this to something to give out points for creating new picture games.
$wgUserStatsPointValues['picturegame_vote'] set this to something to give out points for voting in existing picture games.

パラメーター

名前 説明
$wgCreatePictureGameThresholds for example 'edits' => 5 if you want to require users to have at least 5 edits before they can create new picture games. Defaults to an empty array (no restrictions).
$wgPictureGameID this is the internal ID number of the current picture game and is used by PictureGame internally. It's documented here only for the sake of completeness. 設定しないでください