Help:Extension:QuizGame

Quizzes are trivia questions created by the users; answering them correctly earns you points. There is a time limit of 30 seconds per quiz; after that, answering the question earns you no points. Thus, unlike social polls and picture games, quiz games have a single "right" answer defined by the question creator, and only choosing that answer earns the player points. A quiz may have up to 8 answer choices, and of these one must be designated the right answer.

A quiz question may also have an associated image. You can either upload a new image or using an existing image, either from the local wiki or Wikimedia Commons, if the InstantCommons feature is enabled on the wiki.

Note that on uploading a new image, you will not be able to customize the file name or supply any additional metadata (e.g. on the creator, copyright status, etc.) at this point. To prevent potential file name collisions, the uploaded file will be automatically prefixed with the current Unix time (e.g. the output of PHP's  function at the upload) and a hyphen, followed by the original file name to ensure uniqueness. This may result in a lot of files with ugly file names and inadequate metadata, so be aware of this.

You can start taking quizzes and also create new quiz questions at Special:QuizGameHome. Inappropriate questions can be flagged as such by clicking on the "flag" link and providing a reason. Flagging removes the question from circulation temporarily and enables quiz game admins to take appropriate action.

The list of users who have gotten the most quiz questions correct can be found at Special:QuizLeaderboard.

A list of all available quizzes can be found at Special:ViewQuizzes.

Quiz administration
By default administrators are given the  user right, which is required to access the quiz game admin panel. Via this UI these privileged users can view flagged quiz questions and, if needed, unflag them, protect them and also delete them.

The images uploaded via the quiz game creation page are saved to the category defined at MediaWiki:Quiz-images-category.

Quiz administrators are also able to access the Special:QuizRecalcStats page, which allows them to recalculate quiz-related social statistics for all users who have ever played the quiz game.

Restricting who can create new quizzes
It's possible to restrict the creation of new quizzes so that users will need, for example, five edits or need to have two friends before they are allowed to create new quizzes. This is similar to the same feature present in PollNY and PictureGame  for restricting who can create new polls and picture games, or in SocialProfile  restricting who can edit their social profile page. (Note that SocialProfile's  uses   instead of   that PictureGame uses.)

For example:

This would mean that users must have made five edits (to pages in the namespaces listed in  array in the wiki's LocalSettings.php) and three comments before they would be allowed to create a new quizzes.

All supported values for restriction:
 * — edits made to pages in the namespaces listed in  array
 * — # of comments left on pages using the Comments extension (such as blog pages)
 * — # of times your comment got upvoted
 * — # of times your comment got downvoted
 * — # of users referred to the wiki via special referral links
 * — # of friends you have
 * — # of foes you have
 * — times you've been the weekly winner
 * — times you've been the monthly winner
 * — self-explanatory, isn't it?
 * — # of polls you've voted in
 * — # of picture games you've voted in
 * — # of quizzes created
 * — # of quizzes answered in total
 * — # of points gotten by taking quizzes and getting the answer correct
 * — # of points gotten by taking quizzes

In practise, one or two restrictions are probably sufficient enough to curb abuse. All of the available restrictions are documented here for completeness' sake, but it would likely be highly impractical to use restrictions like weekly_wins or monthly_wins.

Points
It's possible to give out points for both creating new quizzes and for taking existing ones. A system administrator should define the following variables in the wiki's  file for that:


 * — the amount of points received for creating a brand new quiz question
 * — the amount of points received for taking a quiz

Log
By default all quiz actions (creating a new question, administrative deletion of a question, flagging a question by a user, etc.) are logged to Special:Log/quiz.

A system administrator can set  in the wiki's   file to disable this behavior.

Linking to a quiz
It's possible to link to a certain quiz game question when you have its permalink ID, e.g. Special:QuizGameHome/1. Individual question view has a "permalink" link, which enables sharing questions with others.