Extension:QuizGame
From Linux Web Expert
QuizGame Release status: stable |
|
---|---|
File:QuizGame MediaWiki extension.png | |
Implementation | Special page |
Description | Interactive question game that uses AJAX |
Author(s) |
|
Latest version | 4.3 |
MediaWiki | 1.39+ |
Database changes | Yes |
License | GNU General Public License 2.0 or later |
Download | |
Help | Help:Extension:QuizGame |
|
|
|
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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.
See Help:Extension:QuizGame for more information on how to use this extension.
Dependencies
- Extension:SocialProfile
- New database tables: quizgame_questions, quizgame_answers, quizgame_choice and quizgame_user_view
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/QuizGame</tvar>|Download]] and move the extracted <tvar name=name>
QuizGame
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/QuizGame - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'QuizGame' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
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 totrue
.$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!
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Special page extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- LoadExtensionSchemaUpdates extensions
- MakeGlobalVariablesScript extensions
- All extensions
- Social tools