Extension:ArticleRatings
Appearance
リリースの状態: 安定 |
|
|---|---|
| 実装 | タグ, 特別ページ |
| 説明 | Adds a complex interface for giving pages ratings. |
| 作者 | Adam Carter |
| 最新バージョン | 2.7 |
| MediaWiki | >= 1.43.0 |
| データベースの変更 | はい |
|
|
<rating /> |
|
|
change-rating |
|
| ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
| ダウンロード | README |
| 例 | Brickimedia |
| translatewiki.net で翻訳を利用できる場合は、ArticleRatings 拡張機能の翻訳にご協力ください | |
| 問題点 | 未解決のタスク · バグを報告 |
The ArticleRatings extension adds an interface for rating pages.
Privileged users (those with the change-rating user right, by default members of the reviewers group) will see a link on the toolbox on supported skins and they will be able to use the interface at Special:ChangeRating to change pages' ratings.
This extension was developed for Brickimedia, and is not as portable as it could be.
インストール
- ダウンロードして、ファイルを
extensions/フォルダー内のArticleRatingsという名前のディレクトリ内に配置します。
開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleRatings
- 以下のコードを LocalSettings.php ファイルの末尾に追加します: Configure
wfLoadExtension( 'ArticleRatings' );
MediaWiki:Are-ratingsinterface message on-wiki; see #Messages below for more info. This is not optional!
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
利用者権限
change-rating– new user right allows user to change the ratings of pages.
タグ
<rating /> adds the rating of a page to a page.
<rating /> on its own will add the rating of the page it is on, and <rating page="title" /> will give the rating of title.
Special pages
- Special:ChangeRating – interface for changing pages' ratings.
- Special:MassRatings – interface for getting the ratings of many pages at once.
Messages
- MediaWiki:Are-ratings – JSON file giving the name, codename (has to be 2 characters long), image, and link, for each rating. Should be an array of objects, in PHP-valid JSON. See Brickipedia for an example. The codename is just a 2 character string used by the software to identify the ratings, it doesn't matter what it is, as long as each rating's is different. Whichever rating comes first will be the default rating (the one used before the rating has been changed)
Variables
$wgARENamespaces = $wgContentNamespaces;- Array of namespace numbers/constants that are allowed to have ratings on them.$wgAREUseInitialRatings = false;- If true, the ratings tag has aninit-ratingparameter that wil set the initial rating to the codename supplied, not the default. Not recommended for production use, but can be used as a workaround to allow bots to use the extension.
| この拡張機能は以下のウィキ ファーム/ウィキ ホスト/パッケージに含まれています: |
Categories:
- Stable extensions/ja
- Tag extensions/ja
- Special page extensions/ja
- Extensions which add rights/ja
- ArticleDeleteComplete extensions/ja
- LoadExtensionSchemaUpdates extensions/ja
- ParserFirstCallInit extensions/ja
- SidebarBeforeOutput extensions/ja
- TitleMove extensions/ja
- GPL licensed extensions/ja
- Extensions in Wikimedia version control/ja
- All extensions/ja
- Extensions included in Miraheze/ja
- Extensions by Brickimedia/ja
- Rating extensions/ja
