== Getting started ==
MediaWiki's [Quiz eextension](https://www.mediawiki.org/wiki/Extension:Quiz) is an extension that allows people to write quizzes in wikitext on wikiversity (i.e. https://en.wikiversity.org/wiki/Wikiversity:Main_Page)
Install mediawiki locally. It is easiest (often) to use [[ Vagrant](https://www.mediawiki.org/wiki/MediaWiki-Vagrant | vagrant ]]) for this. Enable Quiz as a role.
You can test that the extension is working by adding a sample quiz to your test wiki in wikitext. [The quiz syntax is well documented [[ here](https://en.wikiversity.org/wiki/Help:Quiz | here ]]).
You can find the quiz extension in the vagrant repository by navigating to mediawiki/extensions/Quiz. If you haven't already, you will need to [[ https://www.mediawiki.org/wiki/Gerrit/Tutorial | set up gitset up git, gerrit, gerrit, and git-review ]]and git-review](https://www.mediawiki.org/wiki/Gerrit/Tutorial), and [[ install a gerrit hook](https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Pushing_commits | install a gerrit hook ]]) to begin submitting commits to the Quiz extension.
== Bug ==
Logs are reporting that two lines in the code have undefined variables. These variables should be defined.
:
```
1 Undefined variable: text in /srv/mediawiki/php-1.31.0-wmf.12/extensions/Quiz/Question.php on line 458
1 Undefined variable: rawClass in /srv/mediawiki/php-1.31.0-wmf.12/extensions/Quiz/Question.php on line 457
```