MediaWiki's Quiz extension 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 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.
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 set up git, gerrit, and git-review, and install a gerrit hook to begin submitting commits to the Quiz extension.
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