Extension:ImageRating/ru
![]() Статус релиза: стабильно |
|
---|---|
Реализация | Служебная страница |
Описание | Добавляет служебную страницу для категоризации и оценки изображений. |
Автор(ы) |
|
Последняя версия | 2.5.0 (2020-01-14) |
MediaWiki | 1.39+ |
Изменения в БД | Да |
Лицензия | GNU General Public License 2.0 или позднее |
Скачать | |
Quarterly downloads | 0 |
Переведите расширение ImageRating, если оно доступно на translatewiki.net | |
Проблемы | Открытые задачи · Сообщить об ошибке |
The ImageRating extension adds a new special page, Special:ImageRating
, where privileged users can categorize and rate images.
By default all registered users are given the rateimage
user right , which is required for users to be able to access this special page.
The rating functionality uses VoteNY extension, and thus VoteNY is a hard dependency for this extension, i.e. you cannot install and/or use ImageRating without installing VoteNY, too.
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
ImageRating
в вашей папкеextensions/
. - Добавьте следующий код внизу вашего
LocalSettings.php
:wfLoadExtension( 'ImageRating' );
- Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Примечания
- ImageRating работает только на локально загруженных файлах
Документация по API
imagerating
imagerating | |
---|---|
Добавляет категории к изображению. Этот модуль не может быть использован в качестве generator. | |
Префикс | |
Необходимые права | rateimage |
Только POST? | Да |
Генерируемая справка | Текущее |
This API receives new messages.
To call the API, use action=imagerating
along with 2 parameters, pageId
and categories
.
pageId
- ID страницы изображения.categories
- The categories to add to the image. The categories should be separated by commas without spaces.
Это расширение включено в следующие пакеты и/или вики-фермы: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |