Extension talk:Quiz

Mediawiki 1.31.x status
This extension currently works for this version.

I may take on the development of this extension, so please add any known bugs or feature requests in the section Version 2.0 wishlist.

13:25, 28 March 2019 (UTC)

A better feedback
Improving the feedback is important for many of the use cases on WikiEducator so I thought I would start a wishlist for version 2.0. Kruhly 12:35, 17 April 2007 (UTC)


 * 1) "Correctness-conditional feedback": show feedback A if correct, show feedback B if not correct for each question.


 * Not possible to blank out the question itself (between { and |type=). Using a non-breaking space works, but otherwise you get a syntax error.
 * When the test is corrected, the correction button should change to "reset". On clicking the rest button, the quiz should return to its initial state so that the user can retry it.
 * The colour key still doesn't seem to appear when the the simple display is chosen and the correction button is pressed. (implemented)
 * The purple element of the colour key should probably display only if there is a syntax error. (implemented)
 * What's the status of case-sensitivity with textfield responses? (implemented)
 * Some of your ideas are good and simple enough to be included in 1.0. take a look at : my own wiki Lrbabe 00:45, 21 April 2007 (UTC) DEAD LINK
 * Thanks - I had a look. Definitely prettier :) McCormack 04:54, 21 April 2007 (UTC)

A global feedback
I think it could be a good thing to have a global feedback concerning the score of a user at the end or at the begining of the corrected page. For example, user1 has 2/10, he cand be told something like "well, that's not so bad..." ; user2 has 10/10, "very good, the pupil might soon be better than the teacher...". An example here. And it might not be very difficult to do I suppose. --Henrique 19:15, 28 October 2007 (UTC) (sorry for my english)

Question numbering
Another suggestion: it should be possible to suppress question numbering. Rather than adding an attribute to the quiz tag, I suggest that if there is only 1 question, it should not be numbered. McCormack 05:32, 21 April 2007 (UTC)

A partial correction
Crochet.david of the french wikiversity suggest to have a partial correction with only the state of the question indicated and the possibility to try again.


 * I would like to suggest that the partial correction mentioned by Crochet.david have the option for a hint or feedback to be given as well as the state. -- Kruhly 23:40, 23 April 2007 (UTC)

 drastic cleaning : We should remove all features that have been added in pre1.0 and add suggestions that are hanging around in this page  Lrbabe 21:33, 22 April 2007 (UTC)

Saving the archieved point per user
I would like to see the possibility to save the archieved points per registrated user like in a highscore-table. That would make it possibel to use the extension for education and elearning projects.


 * I would like to add the charter about how the user answered. Just like this.

An easier syntax
Can you make the syntax more easy to remember. Using completely arbitrary names for the different question types [] {} etc. means that anyone who wants to use this extension seriously has to look up the meaning of the symbols every time. Like "text" instead of {}.

Collectors of quiz
It would be great if we can save each question in a separated page, and somehow call pages in specific categories in a quiz. 141.53.208.92 15:06, 19 April 2008 (UTC)

Pair-matching, random order, SCORM, etc
Most quiz tools have a function for pair-matching. In Moodle this is achieved using the following XML code: First term. Description of first term. Second term. Description of second term. true Wikiversity and other mediawiki based course sites need this feature. And all the other features supported by Moodle and other similar learning management systems: http://docs.moodle.org/en/Moodle_XML

Why not use the Moodle XML syntax?

Also, the secret answers, the grading database, the ability to import and export the quizzes as SCORM objects, etc, would be nice to have in Wikiversity.

The easiest solution would perhaps be to integrate a Moodle server with the Wikiversity Mediawiki server. Mange01 22:37, 10 November 2008 (UTC)

Interactive drag-and-drop quizzes, with click-able maps, timers, SCORM based grading, etc
There are several tools on the market for creating Flash based interactive quizzes. These are not as boring as traditional HTML based quizzes. For example, you may pair-match words or sort a list of words by means of drag-and-drop, you may click in an illustration, etc. Some of these quizzes can be saved as SCORM objects, that can be imported as a learning object into Moodle and other learning management systems. Thus the student response would affect the grading database.

Would something similar be possible in Wikiversity? Flash is commercial. Is that not allowed? Any other option for achieving drag-and-drop? Java? AJAX? Mange01 22:37, 10 November 2008 (UTC)

Higher version Mediawiki support
wish Quiz 2.0 could support MediaWiki 1.35.0 - stable,(LTS),Thanks!

Terminology
I created a page on terminology for making quizzes, as I noticed that we are using critical words differently! Comment requested. McCormack 08:47, 7 April 2007 (UTC)

Coming soon - a mobile client for running wikiversity quizzes offline
Hi,

I run the Occleve project over at http://occleve.berlios.de/wiki/. This is a quiz program for mobile phones which stores its quizzes (called tests) in XML in a wiki. I've only just found about the wikiversity quiz extension... so I'm now adding the ability to the J2ME client to download, store, and run offline wikiversity quizzes. It already does this for Occleve's XML format tests. The new release should be ready within the next few days.

The good news is that at the moment, the work I've done on Occleve and the work done here on the wikiversity quiz extension don't overlap much. I'd like to move the Occleve tests over to wikiversity, however at this time the quiz extension can't cope with the requirements of Occleve's language tests (which is basically an awareness of grammatical concepts). So I'd like to add an XML language question type to the quiz extension.

Anyway, for the meantime the J2ME client will be able to download EITHER from the occleve wiki, or from wikiversity. The tests will live quite happily alongside each other in the phone's recordstore. Release 0.9.3 will have this functionality, and it's coming soon! --Joe Gittings 13:25, 10 June 2007 (UTC)


 * I answered here : User talk:Joe Gittings . Please add your comments if you wish to

New version
As you might know, I'm starting to work on a new version of the Quiz extension.

This version aim's at beeing (mostly) compatible in input and output with the SQF format, partially compatible in input and mostly compatible in output with the IMS QTI format. Every people interested in quizzing is also invited to post comment about the SQF draft on its discussion page.

In fact I'll try to turn the current extension into an Object Oriented API and developp an new short extension that will use this API. At the beginning, this extension will only be deployed on my personnal Wiki.

Lrbabe 12:38, 1 July 2007 (UTC)

zone de caractère
Lorsque l'on demande un champs textuel de 4 caractères( { 1998 _4} { 2002-2007 _4} ), la boite ne permet d'en afficher que 3 (la boite est trop court d'un caractère. cela se voit ici.

valeur de la reponse attendue provenant d'une page wiki
Salut,

En fait je voudrais creer facilement des questionnaires sur le vocabulaire d'une langue etrangere comme ici v:fr:Utilisateur:Serpicozaure/animaux en indonesien par exemple, mais je souhaiterais limiter la saisie manuelle au maximum, donc comment faire pour que la valeur attendu comme reponse correcte sois, non plus saisie manuellement, mais provienne de la page du wiktionnaire correspondante par exemple :

{ traduction : completez a l'aide de la traduction correspondante kuching : { chat (i) _10 }
 * type="{}" }

dans le code ci-dessus au lieu de saisir manuellement la valeur chat est-il possible a l'aide d'une certaine syntaxe d'aller 'chercher' cette valeur dans la page kuching du wiktionnaire sachant que celle-ci s'y trouve evidemment ( c'est la definition du mot ) ???

En esperant etre au moins compris :D, merci d'avance

PS: si en plus c'etait possible de generer les quizz directement a l'aide des listes se trouvant dans Thématiques en indonésien et/ou Lexiques en indonésien ce serait le Perou !!!!! Serpicozaure 10:05, 18 September 2007 (UTC)

Option prise en compte des accents ou pas
Re-salut,

Pour des quizz concernant les langues, ajout d'une option ( ajustable par l'utilisateur ) prise en compte des accents : oui ou non dans l'examen de la validite de la reponse pour ceux qui ne dispose pas d'un clavier avec les accents. Serpicozaure 11:01, 19 September 2007 (UTC)

Future of the extension
As you might have noticed, despite my will, the extension is not anymore in development because I always lack of time. But, as you should know, this extension is under GNU Public License, wich means that anybody can improve it. You only need knowledges in PHP, and a bit of html, javascript.

If you are interested in improving this extension, email me : public@lrbabe.com, I'll do my best to help you. I rarely visit this site, mailing me is your best chance to get in touch with me.

Lrbabe 15:20, 8 November 2007 (UTC)

Bug with textboxes
Lol! I just went around trying to explain this in two different places. I wish I thought to use pictures. I wondered why nobody mentioned it yet, but it looks like you beat me, but only by a couple of days. I wonder if something changed recently to bring this about? Anyway, I wish I could help but I'm ill equipped in this level of programming. -LambaJan 08:53, 19 February 2008 (UTC)

Localization for no and nn
As the project isn't maintained anymore (?) I just post this here if anyone needs it. Jeblad 09:56, 14 March 2008 (UTC)

Getting quiz answers to display with formulae
The first question below works (with double spaces), but the second question doesn't display the first option.

{The degrees of freedom for Pearson’s product-moment $$r = \frac {\sum z_x z_y}{n - ?}.$$is equal to: - 0 +  1 -  2 -  7
 * type="[]"}

{The degrees of freedom for Pearson’s product-moment $$r = \frac {\sum z_x z_y}{n - ?}.$$is equal to: - 0 + 1 - 2 - 7
 * type="[]"}


 * Oops the syntax I used on wikiversity doesn't work here - for a live example see q8 Linear correlation/Introductory quiz‎ Jtneill 00:20, 20 March 2008 (UTC)


 * Okey, step 1, simplify the problem:

{Test:} - 0 +  1

{Test:} - 0 + 1

{Test:} + 0 - 1

{Test:} + 1 - 0 + 1 - 0.0
 * v:en:User:MichaelFrey/Test
 * Nice, the Software thinks that 0 is nothing and igonere that answer.
 * -- MichaelFrey 19:12, 20 March 2008 (UTC)

Problem
I followed the instructions for the installation of the quiz in MediaWiki, but when I try to ask a question, see the error:

Fatal error: Call to undefined function wfLoadExtensionMessages in /home/www/mdigital/wiki/extensions/Quiz/Quiz.php on line 171

Thanks luisclaudio.mat@gmail.com

Internet Explorer bug
Not so serious, for there is no problem with Firefox :-)

When the mouse goes over the text area at http://www.totenoc.org/wiki/Taula_de_multiplicacion_(1) (that's only an example), it merely disapear and it makes it difficult to answer the questions :-) Any idea on how to fix the problem? --Kokoyaya 09:23, 11 June 2008 (UTC)

Weighted Answers
A few of the quiz question types allow for the possibility of multiple correct answers, i was wondering about allowing those answers to be weighted for 'correctness'; perhaps in conjunction with coef? Maybe correct answer 1 is 100% of the correct answer points and correct answer 2 is 75% of the correct answer points and correct answer 3 is 50% of the correct answer points so you can end up with good, better and best answers?

Kay

"download snapshot" function failing
The new "download snapshot " function is missing on this Extension page. It's not very great, for an official extension !
 * Added. -- Skiz zerz  23:04, 24 August 2008 (UTC)

Possible to NOT give correct answers, but give total score instead?
Is it possible to offer 10-12 questions but at the end only show the TOTAL score - not showing the correct answers to any question? So that when the test is retaken every question/answer must be reconsidered.

Also it would be good if a "certificate" page could be produced with name/score for printing.

Many thanks, Jonathan3 10:47, 21 September 2008 (UTC)

Possible to load total score into a Variable so that is is accessible?
Hi, I was just working with the Quiz instructions on Wikiversity and what I was wondering was could I factor out the score and use it as a parameter for further programming? All I need is a documented variable that holds the score for that particular quiz, and when I get a bit more used to Mediawiki programming, I should be able to do all sorts of stuff with it.--Graeme E. Smith 00:52, 12 April 2009 (UTC)

Espace entre le numéro de la question et la question
Quand le numéro de la question est supérieur à 10, il n'y a plus d'espace entre ce numéro et la question ( comme ici). Est-ce que cela pourrait être amélioré.Merci Crochet.david 18:49, 9 November 2008 (UTC)

Force shuffleing
Is there a way to force shuffleing if display="simple" is set? --Sigbert 08:40, 16 December 2008 (UTC)

Bug with mediawiki 1.14
If you have the following errors appearing on all wiki pages after the installation, check that you've downloaded the 3 files from the SVN: JackPotte 18:06, 20 June 2009 (UTC)

Blank answers
I'm developing some college teaching materials for chemistry on a password-protected wiki (on our campus), and I plan to upload this to Wikiversity once I have it working well. (I'm currently using a few fair use images, so that means I can't put it on Wikiversity just yet.) The wiki uses a recent version of MediaWiki, and it has the Quiz extension enabled. However, I've run into some problems when implementing it in practice.

Yesterday I finished preparing a series of training quizzes at home, and these all appeared to being working nicely. But when I tested them at work, only one seemed to be working properly. If I reverted to an older version of the quiz, it appeared to start working. Then today I tried using this with a group of about 15 students (none of whom have accounts), and the quiz function failed to work for any of them. I was able to show it working for me on my laptop, but when I used a classroom PC (logged in on my account) at the podium the quiz failed. We're all using Firefox within XP, which I presume is a pretty standard system. What is going on?

All students can see the quiz, but when they/I submit the answers, it simply displays the questions again with blank boxes (i.e., it looks like you didn't enter any answers). If you submit answers in this way then try going back via the browser back button, your answers have been lost. I'm using the Gapfill quiz format, with a series of numerical inputs. These quizzes worked perfectly earlier, but now they are blanking even my efforts (even though I didn't even edit the quiz markup!). Meanwhile another quiz that uses a series of multiple choice questions is working reliably for me, but once again it gave EVERY one of my students a blank set of boxes.

Can you help me solve this? I should point out that I'm mainly a user, but if there are heavy technical issues involved I can pass these on to our technical support people. Thanks, Walkerma 04:55, 27 October 2009 (UTC)

GIFT format and Quiz tables?
Please support to enable the GIFT format and extensions to enable self-study, low-stakes, learner-adaptive quizzes in the Mediawiki Quiz extension, in addition to Quiz table markup for Wikiversity. I hope we will be able to import from and export to both formats.


 * Good news!

A volunteer has come forward. I'm now trying to sponsor v:User:Mbrad who has generously volunteered to implement the GIFT format extensions to enable learner-adaptive, low-stakes, self-study quizzes for Wikiversity. He suggested he might need help from Google's Summer of Code program, so I asked about that. So please sponsor this project generously at http://talknicer.com  for the volunteer effort to keep as much of the assessment content proposal open source as possible, including the eventual reading tutoring and pronunciation assessment extensions. I have asked the Foundation for matching contributions up to $25,000 for Mbrad's effort. Please also vote for bugzilla enhancement request 22475. If you have any questions please ask below and/or mailto:giftex@talknicer.com Thank you! 99.191.75.124 04:16, 26 February 2010 (UTC)

When you write "quiz table mark-up" are you referring to working on this? Mark-up that partly works inside quizzes. Mbrad 20:05, 4 March 2010 (UTC)
 * I meant the table-style markup which the Quiz module uses currently; the Wikiversity quiz format of 2009. 99.38.151.90 02:44, 8 March 2010 (UTC)

For future reference: v:en:Google Summer of Code 2010 Proposal: GIFT Conversion (Thanks, v:User:Mbrad!) 71.198.176.22 22:47, 17 May 2010 (UTC)


 * Is there any documentation on how to use this in MediaWiki? Is there an extension to instal, or does it not require an extension? Thanks, Walkerma 04:13, 11 March 2011 (UTC)

Problem with wiki markup in answer textfields
I tried do develop a quiz on some functions of MediaWiki for beginners and I would like to include questions like "How do you write an external link to http://www.example.com in MediaWiki?" so that people would have to write as an answer. It works in the questions and the feedback using the  or   tags but it doesnt seem to work in the answer text field to include wiki language. Is it possible to achieve this somehow? This would also be great for quizzes on programming languages and similar things which are done using special signs that are also used by MediaWiki and because it makes a difference if you type  or   and people doing the quiz probably wouldn't realize small differences if the quiz would just be done with checkboxes. While a textfield could check, if they have written it correctly. --Ben2010 00:40, 6 April 2010 (UTC)

Quiz-Script in wiki.zum.de with memory, crosswords and other games
Hi everyone,

I just wanted to inform you (probably you know it already) about a similar quiz extension I found in wiki.zum.de. You find it at http://wiki.zum.de/Hilfe:Quiz-Script_Framework. It includes many options that, as much as I know, don't exist yet in the wiki quiz from wikiversity. What do you think about adding these options to the existing quiz tool in wikiversity? --Javier Carro 16:05, 25 April 2010 (UTC)


 * I really like the multiple choice format, but GIFT's is much better because it allows for feedback. I couldn't get the memorization exercise to work (I exposed both the picture and text for bee, but wasn't sure what to do next.)  I'm glad people are working on things like that. 71.198.176.22 20:04, 16 May 2010 (UTC)

Quiz and Cite problem???
I've had a user on our instance of MediaWiki (1.16) notice that the Cite extension Extension:Cite/Cite.php and this Quiz extension don't play together correctly. Perhaps it's something on our end, but the situation is thus:

If you put a and corresponding CSS class, and your skin uses the exact same class to identify elements that should be floated to the right side. I think this extension’s class should be renamed, so I filed a task here and started working on a fix. Hopefully it will land in master branch within a few days. —Tacsipacsi (talk) 23:19, 13 July 2018 (UTC)

The fix is ready, and is available on MediaWiki.org and GitHub. It’s worth, however, to wait a few more days, as the extension’s text messages also changed, meaning that currently only the English version is available for the legend; this should be fixed within 48 hours. —Tacsipacsi (talk) 13:49, 23 July 2018 (UTC)

Omg! This is awesome. Thank you very much for your work, helped me alot!

External link not working
In the page Extension:Quiz, I am not able to see the external link with the title of link "Rules of Ultimate quiz". Actually, I have not yet installed this extension nor does mediawiki.Adithyak1997 (talk) 14:36, 7 January 2019 (UTC)
 * Thanks for reporting, I removed the link. I’ve found it archived in the Web Archive, but I don’t see what it adds to the page, so most probably it was just spam. —Tacsipacsi (talk) 18:54, 10 January 2019 (UTC)

Mediawiki 1.27.5 - more than one quiz per page doesnt work correctly
i have a problem with mediawiki 1.27.5 and the quiz extension if i try to put more than one quiz with and on a page, every "solve" button solves ALL quizzes on the page, not only the special on where the button is located. can somebody help me?

TOC doesn't work in QUIZ-embed document.
Could it be fixed?

I read a comment about some problem between Extension:Quiz and Heading/TOC.

Do you have any solution of the problem?
 * This is a MediaWiki core bug, and doesn’t seem to be fixed in the near future. :( —Tacsipacsi (talk) 19:33, 19 August 2019 (UTC)

Duplicate project?
Here is another project, Quiz game, being discussed. Are they duplicate projects? Should they be merged? RIT RAJARSHI (talk) 19:03, 5 April 2020 (UTC)
 * This is an extension . Not project, not app, nothing else. Thus it’s not a duplicate project of anything, of course. By the way, they’re not even substitute extensions—the QuizGame extension a social thing with rankings and leaderboards, while the Quiz extension generates fully individual quizzes. —Tacsipacsi (talk) 01:41, 6 April 2020 (UTC)

Lint errors: div-span-flip
There are div elements inside of span elements, which is not allowed. See "Handboek MediaWiki/Extensies" and "Chemisch rekenen/Dichtheid" on [https : //nl.wikibooks.org/wiki/Speciaal:LintErrors/misc-tidy-replacement-issues] (Dutch wikibooks). <div class="thumbinner"  etc. - 2001:980:3247:1:2D1F:AECF:7AB2:CFBA 01:24, 18 May 2020 (UTC)
 * I tried to fix this last year, but apparently didn’t finish the fix. I’ll try to get back to this when I have more time. —Tacsipacsi (talk) 21:34, 23 May 2020 (UTC)