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 [ edit ]
SocialProfile extension New database tables: quizgame_questions, quizgame_answers, quizgame_choice and quizgame_user_view
Installation [ edit ]
Download and place the file(s) in a directory called
QuizGame in your
Add the following code at the bottom of your
LocalSettings.php: wfLoadExtension ( 'QuizGame' );
which will automatically create the necessary database tables that this extension needs. update script Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
User rights [ edit ]
This extension adds one new user right,
quizadmin which allows administering quizzes. By default sysops and staff have this user right.
User points [ edit ]
— set this to something to give out points for answering existing quiz game questions.
$wgUserStatsPointValues [ 'quiz_answered' ]
— 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_correct' ]
— set this to something to give out points for creating new quiz games.
$wgUserStatsPointValues [ 'quiz_created' ]
— I have no idea what this does. Related comment from source code: "Add to point total"
$wgUserStatsPointValues [ 'quiz_points' ]
Parameters [ edit ]
— whether to log quiz creations or not. Defaults to
— 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).
— 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
$wgQuizID not set it!