Extension talk:Quiz

Archiving of discussion
I don't think we should chop away old bits of talk too fast. Let's adopt the rule that if a section has had no discussion for a month, it goes onto an archive subpage at Extension talk:Quiz/archive. McCormack 04:59, 23 April 2007 (UTC)

There is another way to archive sections we no longer need, take a look at the following example. Lrbabe 09:16, 23 April 2007 (UTC)


 * 1) The archive example has been archived
 * 2) The section Different version of documentation has been archived
 * 3) The section Didactic considerations has been archived
 * 4) The section Wishlist (version 1.0) has been archived

version 0.7
I see that the quiz extension is working well on DE.wikiversity.org, but it does not appear to work on www.mediawiki.org (which makes documentation difficult).

What is the status of implementation? How likely is it that the quiz extension will be accepted and implemented on EN.wikiversity.org? When will it be on www.mediawiki.org ?

McCormack 06:03, 6 April 2007 (UTC)


 * It already works on en.wikiversity.org, see v:Special:Version. But it will never be installed on mediawiki. We have to take screenshots of examples on the wikiversity and insert them in our help. Lrbabe 08:09, 7 April 2007 (UTC)


 * Ah. Is there any reason why it won't be installed on MediaWiki? McCormack 08:31, 7 April 2007 (UTC)


 * Because we don't need it? robchurch | talk 08:19, 11 April 2007 (UTC)

version 0.8x
What are the procedures and timescales for rolling out new versions on the various Wikiversities? Who does one ask and how does it happen? Perhaps we could also collect information in this section about when roll-outs occur? McCormack 05:42, 19 April 2007 (UTC)


 * Wikiversity have 0.8.2 :-)
 * http://de.wikiversity.org/wiki/Spezial:Version
 * http://en.wikiversity.org/wiki/Special:Version
 * I think, they are disbrubuted over the normall update procedere.
 * And the servers of the wikimedia foundation allways run on very new Mediawiki versions from svn.
 * -- MichaelFrey 15:50, 19 April 2007 (UTC)


 * Yes, thanks. But I'm curious through - how quickly do these updates generally go through? Is it always just a couple of days? McCormack 18:31, 19 April 2007 (UTC)
 * I'm answering my own question on the basis of an answer I received over at the English Wikiversity. Implementation of extension updates is anything between minutes and weeks, and asking a developer helps speed things up (so I was told). McCormack 05:01, 21 April 2007 (UTC)

version 0.9.2
I managed to have this version installed tonight on the wikiversity. They will nuot update before 1.0 now. Lrbabe 21:55, 22 April 2007 (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)
 * McCormack 10:12, 20 April 2007 (UTC)
 * 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)
 * 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)

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 : http://www.mediawiki.org/wiki/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 http://fr.wikiversity.org/wiki/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
 * 
 * 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: http://en.wikiversity.org/wiki/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 http://www.mediawiki.org/wiki/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 BEFORE the the references will show up correctly.

If you put the AFTER the then the references section will be blank. (Wiki text will show up fine, headers, stuff entered on the "edit" page, etc. The " " extension call is simply returning "nothing" [its output is empty])

If it's not the Quiz or Cite code, any idea what would be causing that?

Mediawiki 1.16.2
In my Mediawiki 1.16.2 questions and answers are no longer rendered. The Apache error log file gives: PHP Warning: Parameter 3 to renderQuiz expected to be a reference, value given in /var/www/mediawiki/mmstat_de/includes/parser/Parser.php on line 3333,

Changing in extensions/Quiz/Quiz.php

function renderQuiz($input, $argv, & $parser) { to

function renderQuiz($input, $argv, $parser) { solved the problem. --Sigbert 13:36, 16 March 2011 (UTC)