Extension:QuizGame: Difference between revisions
Content deleted Content added
Jack Phoenix (talk | contribs) +Bugzilla link |
KrenairBot (talk | contribs) m This extension appears to be in SVN, not Git. |
||
Line 13: | Line 13: | ||
|mediawiki = 1.16+ |
|mediawiki = 1.16+ |
||
|needs-updatephp = yes |
|needs-updatephp = yes |
||
|download = {{WikimediaDownload}} |
|download = {{WikimediaDownload}} |
||
|license = GNU General Public License 2.0 or later |
|license = GNU General Public License 2.0 or later |
||
|readme = |
|readme = |
Revision as of 22:29, 13 August 2012
![]() Release status: stable |
|
---|---|
Implementation | Special page |
Description | Interactive question game that uses AJAX |
Author(s) | Aaron Wright Ashish Datta David Pean Jack Phoenix |
Latest version | 2.0 |
MediaWiki | 1.16+ |
Database changes | Yes |
License | GNU General Public License 2.0 or later |
Download | |
Help | Help:Extension:QuizGame |
$wgQuizLogs $wgCreateQuizThresholds $wgQuizID |
|
quizadmin |
|
Quarterly downloads | 2 (Ranked 132nd) |
Translate the QuizGame extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
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.
Dependencies
- SocialProfile extension
- New database tables: quizgame_questions, quizgame_answers, quizgame_choice and quizgame_user_view
Installation
- Dump the files into $IP/extensions/QuizGame
- Create the three required database tables (by re-running the MediaWiki updater script, update.php)
- Add require_once("$IP/extensions/QuizGame/QuestionGame.php"); into the wiki's LocalSettings.php
- Installation can now be verified through the wiki's 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"
Parameters
- $wgQuizLogs — whether to log quiz creations or not. Defaults to true.
- $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
- Special page extensions
- Extensions with unknown license
- Extensions in Wikimedia version control
- Extensions which add rights
- SkinTemplateBuildContentActionUrlsAfterSpecialPage extensions
- MakeGlobalVariablesScript extensions
- LoadExtensionSchemaUpdates extensions
- RenameUserSQL extensions
- All extensions
- Social tools