Extension:ImageRating/zh

Category:GPL licensed extensions/zh
ImageRating
Category:Stable extensions/zh
Category:Special page extensions/zh
描述 添加一个特殊页面来对图像进行分类和评级。
作者
最新版本 2.5.0 (2020-01-14)
MediaWiki 1.43+Category:Extensions with manual MediaWiki version
GNU通用公眾授權條款2.0或更新版本
下載 Category:Extensions in Wikimedia version control/zh
  • rateimage
季度下載量 0
前往translatewiki.net翻譯ImageRating
問題 开启的任务 ·
Category:All extensions/zh

“ImageRating”扩展添加了一个新的特殊页面,Special:ImageRating,特权用户可以在其中对图像进行分类和评级。 默认情况下,所有注册用户都被授予rateimage{{ll|Manual:User rights|用户权限}},这是用户访问此特殊页面所必需的。

评级功能使用VoteNY扩展,因此VoteNY是该扩展的硬依赖项,即如果不安装VoteNY,您也无法安装和/或使用ImageRating。

安装

  • 下载,并将解压后的ImageRating移动到extensions/目录中。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageRating
  • 将下列放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'ImageRating' );
    
  • Yes 完成 – 在您的wiki上Special:Version,以验证已成功安装

Notes

  • ImageRating only works on locally uploaded files

API documentation

imagerating

This API module allows adding categories to an image page. To call the API, use action=imagerating along with 2 parameters, pageId and categories.

  • pageId - The page ID of the image.
  • categories - The categories to add to the image. The categories should be separated by commas without spaces.
Category:Social tools/zh Category:Extensions by Fandom/zh Category:Extensions by ShoutWiki/zh
Category:All extensions/zh Category:Extensions by Fandom/zh Category:Extensions by ShoutWiki/zh Category:Extensions in Wikimedia version control/zh Category:Extensions included in Miraheze/zh Category:Extensions included in WikiForge/zh Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/zh Category:ParserFirstCallInit extensions/zh Category:Social tools/zh Category:Special page extensions/zh Category:Stable extensions/zh