Расширение:QuizGame
Appearance
Статус релиза: стабильно |
|
|---|---|
| Реализация | Служебная страница |
| Описание | Interactive question game that uses AJAX |
| Автор(ы) |
|
| Последняя версия | 4.4 |
| MediaWiki | 1.43+ |
| Изменения в БД | Да |
| Лицензия | GNU General Public License 2.0 или позднее |
| Скачать | |
|
|
|
|
| Переведите расширение QuizGame, если оно доступно на translatewiki.net | |
| Проблемы | Открытые задачи · Сообщить об ошибке |
QuizGame extension allows users to create interactive quizzes and take them.
- Special:QuizGameHome is the main page for quizzes.
- Special:QuizLeaderboard shows the users who have answered correctly in most quizzes.
- Special:QuizRecalcStats can be used by quiz administrators to recalculate quiz statistics.
- Special:ViewQuizzes can be used to view all available quizzes.
See Help:Extension:QuizGame for more information on how to use this extension.
Dependencies
- New database tables: quizgame_questions, quizgame_answers, quizgame_choice and quizgame_user_view
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
QuizGameв вашей папкеextensions/.
Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/QuizGame
- Добавьте следующий код в конце вашего файла LocalSettings.php:
wfLoadExtension( 'QuizGame' );
- Выполните скрипт обновления, который автоматически создаст необходимые таблицы, используемые расширением.
Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
User rights
This extension adds one new user right, quizadmin which allows administering quizzes.
By default sysops and staff have this user right.
User points
$wgUserStatsPointValues['quiz_answered']— set this to something to give out points for answering existing quiz game questions.$wgUserStatsPointValues['quiz_correct']— I have no idea what this does. Related comment from source code: "Add to stats how many quizzes the user has answered correctly"$wgUserStatsPointValues['quiz_created']— set this to something to give out points for creating new quiz games.$wgUserStatsPointValues['quiz_points']— I have no idea what this does. Related comment from source code: "Add to point total"
Параметры
| Name | Default | Description |
|---|---|---|
$wgQuizLogs
|
true
|
whether to log quiz creations or not. |
$wgCreateQuizThresholds
|
[]
|
for example 'edits' => 5 if you want to require users to have at least 5 edits before they can create new quizzes. Defaults to an empty array (no restrictions).
|
$wgQuizID
|
this is the internal ID number of the current quiz and is used by QuizGame internally. It's documented here only for the sake of completeness. Do not set it! |
| Это расширение включено в следующие вики-фермы/хостинги и/или пакеты: Это не исчерпывающий список. Некоторые вики-фермы/хостинги и/или пакеты могут содержать это расширение, даже если они не перечислены здесь. Всегда сверяйтесь со своими вики-фермами/хостингами или комплектами/бандлами для подтверждения. |
Categories:
- Stable extensions/ru
- Special page extensions/ru
- GPL licensed extensions/ru
- Extensions in Wikimedia version control/ru
- LoadExtensionSchemaUpdates extensions/ru
- MakeGlobalVariablesScript extensions/ru
- SkinTemplateNavigation::Universal extensions/ru
- All extensions/ru
- Extensions included in Miraheze/ru
- Extensions included in WikiForge/ru
- Social tools/ru
