Extension:QuizTabulate

The QuizTabulate extension tabulates user input for the quiz extension. It allows transclusion of a quiz from the Quiz namespace. It then displays the tabulated results of that quiz on the quiz's page. In other words, it records and displays the number of times that quiz's answers were chosen.

Note: This extension has been tested to work well. However, it is experimental because it currently only works with the quiz extension's "Multiple choice" question type.

Installation
Note: The quiz extension must first be installed properly and working!

Configuration parameters
$wgQuizNamespace = NS_MY_NAMESPACE; //Where NS_MY_NAMESPACE is a constant equal to, for example: 140
 * $wgQuizNamespace: The extension creates a custom namespace called "Quiz". By default, only transcluded quizzes from this namespace will show results. You can change the special Quiz namespace to any namespace you'd like. For example:

User rights
$wgGroupPermissions['*'           ]['viewquiztabulate'] = false; $wgGroupPermissions['user'        ]['viewquiztabulate'] = false; $wgGroupPermissions['autoconfirmed']['viewquiztabulate'] = false; $wgGroupPermissions['bot'         ]['viewquiztabulate'] = true; // registered bots $wgGroupPermissions['sysop'       ]['viewquiztabulate'] = true;
 * viewquiztabulate: Which users are allowed to see the tabulated results? By default this is: