Jump to content

Help talk:Quiz

Page contents not supported in other languages.
Add topic
From Wikiversity
Latest comment: 2 years ago by Kelti in topic Use of '}'

Thanks and credits

[edit source]

Prepared with the help of http://de.wikiversity.org/wiki/Wikiversity:Quiz Thanks also to Lrbabe (at MediaWiki), creator of the quiz extension, for patiently answering questions.

McCormack 16:39, 7 April 2007 (UTC)Reply

This was what I was going to do today, apparently someone beat me to it. Now we have to get people interested in making quizzes!--Rayc 19:09, 7 April 2007 (UTC)Reply
Don't worry, Rayc. Lot's of documentation still to be written ;-) McCormack 05:41, 8 April 2007 (UTC)Reply

General discussion of educational issues

[edit source]

Didactic considerations

[edit source]

I've added a short section at the top with an educational guide. This is obviously personal opinion, but possibly worthwhile and probably necessary. I think it is essential for Wikiversity to distinguish itself from other learning environments, and especially from free+popular ones such as Moodle. Discussion of the didactic considerations and their implications for future development of the quiz extension are invited below. One of the things which emerges from my analysis is that development of the quiz extension should pay less attention to points systems (marking, assessment) and more attention to layout and feedback (visuals, information flow). McCormack 06:23, 8 April 2007 (UTC)Reply

Learning project

[edit source]

Perhaps to help with the above, I've started a learning project at the Quiz Learning Project. McCormack 08:43, 8 April 2007 (UTC)Reply

Suggested improvements to help page

[edit source]

Please show full coding

[edit source]
Show me the coding
In the examples (the <pre> sections), please include all of the coding, not just the question. It is awkward to have to search for the coding in the edit page for the examples. Robert Elliott 17:05, 20 April 2007 (UTC)Reply
OK - I'll look into this. The original idea was to minimize the code in order to maximize understanding. But I agree it doesn't help with copying. McCormack 05:06, 21 April 2007 (UTC)Reply
Yes, in some ways, not showing the template call is a simplification but is also adds confusion when trying to apply it. Robert Elliott 05:14, 21 April 2007 (UTC)Reply
Although all you need to do is add <quiz> tags before and after. Perhaps I should say this ;-) McCormack 10:16, 21 April 2007 (UTC)Reply
Yes, you must say it. <quiz=> is NOT something that people use every day. Therefore, unless you show everything, no one is going to know what you are doing. For something new that no one has seen before, you have to be very complete and accurate when you tell people what they need to add to their lessons to get a certain type of quiz. Robert Elliott 16:00, 21 April 2007 (UTC)Reply

Markup that doesn't work inside quizzes

[edit source]

All those markups works on this sandbox : http://www.lrbabe.com/sdoms/wikikato/index.php?title=Quiz:sandbox

of course list and tables doesn't work inside the question's object. mw:User:Lrbabe

True/False questions

[edit source]

For true false question I recommand to use :

 

true false
Lrbabe is a nerd
Lrbabe is an english major


Thanks for the suggestion, Lrbabe. My recommendation is that people follow the documentation as is, because most quizzing environments I'm familiar with use this kind of tre/false layout. However people are, of course, free to experiment with different layouts. McCormack 08:06, 29 April 2007 (UTC)Reply

Undocumented Features

[edit source]

See fr:Aide:Quiz#Insérer du texte et Limiter le mélange des questions and fr:Aide:Quiz#Paramètres de la balise .3Cquiz.3E (shuffle="none") -- MichaelFrey 07:20, 29 April 2007 (UTC)Reply

Thanks. I've added in some bits and pieces as a results of this. McCormack 08:48, 29 April 2007 (UTC)Reply

Bug reports

[edit source]
Where did your quiz page go?

Examples not working?

[edit source]
Working examples
Please include fully working examples. Robert Elliott 17:19, 20 April 2007 (UTC)Reply
I thought all the examples were fully working - ? If you found one which malfunctioned, can you list it below? Thanks! McCormack 05:07, 21 April 2007 (UTC)Reply
Sorry, when I tried them, all I got was a blank page.
And I need to see these in working lessons. Robert Elliott 05:16, 21 April 2007 (UTC)Reply
First I'd need to know which examples didn't work, so I can check my own markup. Then I'd need to know if you got the blank pages after repeatedly trying - i.e. was it just a temporary server/browser glitch? If the error is repeatable, and not in the markup, then I'd also need to know your browser type so I can pass a bug report back to the developer. McCormack 10:14, 21 April 2007 (UTC)Reply
Yep! You got a problem!!!!. I got one quiz to work once so now I know roughly what you are doing. The quiz software does not work with Foxfire. Depending on the answer that the user gives, the results are disasterous for the user and teacher. It wipes out the original page. Or at least the server thinks the entire page is now blank and, therefore, allows the user to begin typing the question page from scratch (from a totally blank page.) Robert Elliott 15:53, 21 April 2007 (UTC)Reply
OK - I'll pass this back to development at mw:Extension:Quiz. McCormack 17:58, 21 April 2007 (UTC)Reply
You can not use the quiz while editing the page. It is simply impossible because you post only the content of the quiz you've answered when you click on "correction". There is no way to avoid it. Maybe you should mention it in the Help page. Regards mw:User:Lrbabe 23:36, 21 April 2007 (UTC)Reply
Ah! He was trying the quiz in preview mode. OK - I'll note this down. McCormack 04:26, 22 April 2007 (UTC)Reply
Light at the end of the tunnel
Ahhh! I was in the edit mode because not all the coding for the quiz was visible. I could only see the missing coding if I was in the edit mode. When I am in edit mode, I can hop down and see if this quiz is <quiz=StyleSlighlySimple> or if it is <quiz=StyleUltraSimple> Robert Elliott 09:08, 22 April 2007 (UTC)Reply


Suggested improvements

[edit source]

Why do all quizzes have a button which says "Correction"? (Robert Elliott)

Correct answer: the programmer is French and I've been very careful about not criticising him too much, especially not for his English, because he's working really hard! McCormack 15:59, 22 April 2007 (UTC)Reply
:D Yes I'm very bad in english, I admit it. I accept all criticisms even on my english and I would like to improve the extension with all suggestions I receive, but it is very hard to meet all those requirements without having the feeling of losing my time on fucking the flys (I have no better translation for enculer les mouches).
Regards, Lrbabe
I think he means fixing the bugs. Lrbabe is doing a superb job. I've put in a request over at MediaWiki for the wording to be changed to submit. McCormack 04:49, 23 April 2007 (UTC)Reply

Why do all quizzes have a button which says "Correction"?

I am a computer nerd, not an English major.
"Correction" means no matter what answer I give, the teacher is sure I will be wrong.
Students never give the correct answer.
I turned this decision over to a computer programmer. They always make a mess of things.
The word "Answer" is copyright by Microsoft so I could not use it.


Mind you, to return to the world of seriousness, Robert, what should be on the button? McCormack 17:50, 22 April 2007 (UTC)Reply

  • Submit?
  • Finished?
  • Answer?
  • Mark?
  • Please add next suggestion below

BTW, I've already suggested to Lrbabe that the button should change to "Reset" when the corrections are showing. McCormack 17:50, 22 April 2007 (UTC)Reply

I like "submit" for the button. Cormaggio talk 18:59, 22 April 2007 (UTC)Reply
The big picture
As I go through all the samples of the QUIZ format, I am beginning to see some possible conceptual problems. It will take me a week or more to come up with some ideas.
In the meantime, I have a question. Do we have a click function yet at Wikiversity? The "CORRECTION" button uses a CLICK function so why don't we have a working click function? Robert Elliott 01:39, 23 April 2007 (UTC)Reply

Scoring

[edit source]

Please explain how scoring works. If I have 5 quizes on a page, how will the scoring add up the score? In your examples, it does not seem to work. Where do you store the total score for this quiz and the total score for all quizes in the Users data file? How does the teacher see this? Does it include the date that the student took the quiz. Does the teacher get emails with the score when the student takes a quiz? Robert Elliott 09:48, 22 April 2007 (UTC)Reply

Yup, you mirror my thoughts. However I think this may be too much for version 1.0. It may also contradict what I've tried to discern as the distinctive abilities of a wiki-quiz. If your emphasis is on marking and points, you need to be thinking of Moodle. Wiki-quizzes are perhaps about interactive learning journeys. But what do you think? McCormack 16:02, 22 April 2007 (UTC)Reply

Let me think about it. Robert Elliott 17:25, 22 April 2007 (UTC)Reply


Has any more thought been given to this? My husband is a high school teacher and I've recently set up a Wiki for his class. We were very interested in using Quiz but would like some sort of results reported back to the teacher, not so much for grading but more to show if there are specific areas that need to be covered more in depth in class. For instance if they cover a portion of the American Revolution (he teaches History) and then the wiki has a quiz reviewing what was covered and it is noticed that a decent percentage of the students do poorly on a specific question then he knows to go over that material more in class with them.

Kayleigh

Bug Fixes

[edit source]

Why is the "no-break space code" used as a control function? Not a good idea to use such a difficult/confusing code to use.

Is the amperstand code also used for something or have you disabled this? (Looks like you used it and then abandoned it.)

Please change color of actual quiz BACKGROUND to "inherit". (See my simple help page to see white boxes which should not be there.

Why is the space after the "{" required in text fields? (As in { Alexander }.) Not a good idea to have something so weird. Robert Elliott 17:25, 22 April 2007 (UTC)Reply

  • Non-breaking space: dunno. It was my work-around.
  • Ampersand: I was playing around with trying to get the formatting right. Might be an accident.
  • Inheritance: I agree, but I'm trying not to overload Lrbabe with requests right now.
  • Space: I asked Lrbabe about this some time ago. He has his reasons, although I don't fully understand them. Might have something to do with tables.
McCormack 17:37, 22 April 2007 (UTC)Reply
  • Non-breaking space: I'll allow question with no text in the headings.
  • Inheritance: 0.9.3 will fix more layout bugs such as this one and this other one introduced in 0.9.1 :

Lrbabe
Inheritance
On the Inheritance, I am not asking for a change. I am asking for a correction. It is currently set to "white" or #fff or #ffffff. I should be set to the default which is "INHERIT" which means it should use a background color equal to the background color that the user is already using. Now it is hard wired to the wrong value (white). Robert Elliott 01:44, 23 April 2007 (UTC)Reply

In fact, the quiz settings as well as the questions's objects are in a table. And tables always have a white background on MediaWiki ! Therefore I have to change it to transparent. mw:User:Lrbabe

Just out of curiousity
Just out of curiousity, what language is this written in? Robert Elliott 14:45, 23 April 2007 (UTC)Reply
The quiz extension is a mixture of PHP and Javascript, with HTML and CSS thrown in, of course. The code is public and on SVN - you can look at it if you wish. I did. It made my brain hurt. :) I'm glad I don't have to programme it. McCormack 15:35, 23 April 2007 (UTC)Reply
If possible, please tell me how I can access this code. (I just want to look at it. You can email it to me as text just so I can take a look. Back in the Stone Ages before fire was invented, I was a COBOL programmer.) Robert Elliott 23:51, 23 April 2007 (UTC)Reply
Hi Robert. The page at MediaWiki is mw:Extension:Quiz. The code can be accessed using the prominent links in the information box at the top of the page (right hand side). Like all of the MediaWiki code, it is public. McCormack 04:24, 24 April 2007 (UTC)Reply
Thanks. You are right. It is difficult to understand. Robert Elliott 15:51, 29 April 2007 (UTC)Reply

Flashcards

[edit source]

Did you ever use flash cards when you went to university? I did. I had a big stack of Biology cards and soon divided them into ones I knew, and ones I didn't. Because they were hard copies the stacks stayed put until the next day when I went through my ever dwindling "don't know" pile. That way I could focus on the ones I don't know. It sounds trivial but all the virtual flash card applications don't do this. They may have a temporary hide, but if you ever leave the webpage or logout, it's all back to one pile.

Well I think it would be SWELL if we could do the same thing virtually here in the Merry Ole Wikivesity. Except it would have to be tied to a login somehow so that that person's cards would stay in the piles they set.

I posted this in the Colloquium Flashcard dicussion and it was recommended we ask you.

Apparently Ryan Lane started to develop a memorize extension which (I hope would keep the "know" and "don't know" categories for someone who has logged in. (Colloquium Flashcard dicussion). Perhaps this is impossible, and we need to simply post an executable file that a user must download and run on their own computers with a copy of the flash cards? They could keep their "know" and "don't know" categories on their own system with a built-in database?

Do you think it's a good idea? If so, do you know someone with the technical expertise to make it? Andrew 18:58, 2 May 2007 (UTC)Reply

The problem with a wiki is that the content is changing everytime. If you think today you perfectly know a flashcard, what will happen if tomorow its content change or if there was a mistake inside ? It could be possible to inform the user as soon as something change... Anyway, it is a lot of work. I could do it but I have not enough time currently. Lrbabe 12:27, 10 May 2007 (UTC)Reply
I don't know if you need to know, but I've got a flashcards program on my ti84, could be helpful.--danthemango 11:17, 1 March 2008 (UTC)Reply
Perhaps this could be achieved by using mw:Extension:RandomInclude. This would allow for random display of text (which could be anything including flashcards, quiz questions, etc.). -- Jtneill - Talk 00:13, 12 April 2008 (UTC)Reply
FYI, I've added a request for the RandomInclude extension to be added to the sandbox server. -- Jtneill - Talk 00:18, 12 April 2008 (UTC)Reply
Flashcards would also be very useful for Portal:Pre-school Education. -- Jtneill - Talk 00:20, 12 April 2008 (UTC)Reply

Cheat

[edit source]

 

How can a student cheat?

Hillgentleman|Talk 22:22, 17 May 2007 (UTC)Reply

Thanks for you comment, Hillgentleman. In general, insecurity is a feature of all browser-based quiz systems. With Moodle, students can simply print out a test and work on it offline, or if multiple attempts are allowed, they do trial-and-error until one of them has the right answer, and then they pass the answers to each other on crib-sheets. With Wikiversity, source code inspection is, of course, possible. It's highly insecure. However security doesn't always matter with quizzes. It depends what your purposes are. If you're testing, security is important. If you're training, security is less important. Example 1: student is self-learning vocabulary - why cheat yourself? Example 2: a teacher adds easy quiz questions to make a learning journey more interesting - it doesn't actually matter how the students get the answer. This is all partly why I wrote the "didactic considerations" section. McCormack 04:16, 19 May 2007 (UTC)Reply
Exactly. Moreover, I would say that this quiz extension has never been designed for testing purposes. There is no way for a teacher to know the score of a student. Wikiversity is designed to help students and quizzes are mainly ludic teaching aids. Lrbabe 17:49, 21 May 2007 (UTC)Reply

Is is possible to make the quiz extension a little more secure, e.g. make it harder (if not impossible) to view the source code? ThanksJonathan2 10:59, 21 September 2008 (UTC)Reply

Advanced shuffle possibilities

[edit source]

A few exotic features are not yet covered, such as shuffle control using {X} {!X} {/X} tags.

I totally agree with you, I don't know why I spent so much time on such a useless feature. You don't need to document it and you can consider it as a "hidden feature that may disappear in the future". Lrbabe 22:52, 29 June 2007 (UTC)Reply

Word

[edit source]

A friend of mine wants to know if this works in word. Is there a way of transferring the functionality into word, like opening a webpage containing a quiz with word?--Rayc 22:19, 2 August 2007 (UTC)Reply

So you're asking (a) if Microsoft are going to build a MediaWiki parser into Word? and (b) if Microsoft will also implement the quiz extension in their MediaWiki-Word hybrid? I think Microsoft might need to evolve their licencing conditions for Word before this is possible. Or did I misunderstand you? McCormack 05:05, 3 August 2007 (UTC)Reply
Never mind. I don't think this quiz system is what she was looking for. --Rayc 22:44, 16 September 2007 (UTC)Reply

Problems in IE (Version: 5.1.2600.3121)

[edit source]

Hi, some input boxes disappear, when you touch them with the cursor or click on it.

Example:

Touch one of these boxes in Internet Explorer and you might see:

-- Kevin Hättig 19:16, 23 December 2007 (UTC)Reply

Just tried with Kevin over chat and with my IE the described prob does not appear:
IE 7.0.6001.17119 32 bit, ----Erkan Yilmaz (Wikiversity:Chat, wiki blog) 19:22, 23 December 2007 (UTC)Reply

Can Quiz be used for visitors to create reviews

[edit source]

I am wondering if this program could be used to allow visitors to review certain subjects such as hotels on your mediawiki.

Does Quiz save the information anywhere? Can the information that visitors input be saved to a page? Thanks in advance. 66.142.89.217 14:49, 22 February 2008 (UTC)Reply

Well it could be extended perhaps to save data locally at the pc (for e.g. reusage). Since the data (for future projects) may be sensible this is to be considered, if this should be done. But I guess it does not hurt to ask here: Topic:Sandbox Server 0.5. You could tell more about your idea, ok ? ----Erkan Yilmaz Wikiversity:Chat 16:48, 22 February 2008 (UTC)Reply
Really?!! ;-) --McCormack 17:39, 22 February 2008 (UTC)Reply
Maybe we could have the quiz auto generate a piece of code that when edited to a page displays previous answers. That way only people who want to save there info could edit the info onto the page.--Rayc 23:39, 22 February 2008 (UTC)Reply
I'm a little negative about this. One issue would be where to put the answers. They couldn't be stored within the question area itself, as it would disturb the layout. Perhaps at the bottom of the page? But then it makes it easier for later learners. And a popular quiz or a quiz for a closed class could easily rack up an uncontrolled amount of data (page bloat). Additionally, if a teacher has a class do the quiz at the same time, then multiple edit conflicts would result. One could solve all this by recording each answer set on a different subpage - but: phew! I think that the concept is worth exploring, but it needs thinking through. I don't think WV should try to be Moodle & co. --McCormack 06:12, 23 February 2008 (UTC)Reply
I need a polls functionality on my wiki. The Extension:Poll is not in wikimedia CVS and also a kind of non-flexible and very limited. Code style seems also to be outdated. I wonder if polls might be added to Extension:Quiz or maybe that's a wrong idea? The results should be stored in SQL tables, not local PC, of course (as Extension:Poll does). I wonder what do Quiz extension developers think about that. I might try to implement that myself. QuestPC 06:53, 26 February 2009 (UTC)Reply
Well interesting point. I think, that there is important for teachers to know, how the student replied the quiz. If this possibility will not be able, the teacher cant evaluate the process of teaching and cant give to the student a feedbac. On the other hand, we are Wikiversity, an OPEN learning community. You tried to declate, that there will not be any certificates nor teachers - to frighten possible participants. So you mede from teachers instructors in here. I mean that it can have a psychological impact if the results of the quizes will be listed somewhere and publicly available. So, how to solve this problem:
  • leave it like this without history/results - this changes the quiz to an automatic tool for education (e.g. a quiz of 100 inquiries based on French vocabulary) - you will do the quiz until youll study all words
  • list the results of a one quiz associated with user who did it on a special page (subpage of a quiz, quiz discussion etc.)
  • special hidden page with results - moodle like solution with different user levels, who can see this page
  • other
With one quiz for more people, you cant go to conflict, if the quiz will be included in the template (e.g. you will make a quiz and you will save it as a template. Then every single student will copy this template to his e.g. user subpage) - if there will be more students, this can be done also roboticly (so it would be nice to have kind of user robot available to do such thinks for users). I dont know, why you dislike this opportunity?--Juan 14:55, 25 March 2008 (UTC)Reply

thanks everyone

[edit source]

great concept and it will DEFINITELY help me in my endeavors, I've been worried about this issue for the longest time. just one comment, I also wonder if it's possible to have a long answer quiz or test or even exam, where the mark goes up by citing specific words along with the word count. I was curious about the short answer section fourth example where it's possible to have multiple answers. The space gives a point for aristotle or plato, but gives a wrong answer to "aristotle and plato". it could be useful if the quiz script could pick out words in a response and give marks accordingly, such as for a paragraph answer or essay.--danthemango 11:10, 1 March 2008 (UTC)Reply

User discussion

[edit source]

A discussion about the quiz feature was conducted on the mailing list: http://lists.wikimedia.org/pipermail/wikiversity-l/2008-March/000364.html. Main points included:

  • Positive feedback about using it
  • Pedagogy
    • Ideally, include feedback
    • Keep quizzes short, i.e., no more than 10 questions, ideally < 5 questions

-- Jtneill - Talk 15:00, 25 March 2008 (UTC)Reply

GIFT format and extensions for assessment content

[edit source]

Can we please support the GIFT format and extensions for assessment content in addition to Quiz table markup? I hope we will be able to import from and export to both formats. Please discuss at mw:Extension talk:Quiz#GIFT format and Quiz tables? 99.38.150.200 01:18, 11 February 2010 (UTC)Reply

Persian numbers

[edit source]

Is there any way to to change the latin numbers to Persian or Arabic numbers? if the answer is yes, please notify me on my talk page! thanks Americophile 19:19, 11 October 2011 (UTC)Reply

"No Retry" Quizzing? Quiz Scores?

[edit source]

From what I've been able to research on this extension, it doesn't provide the capability of preventing users from correcting their answers and moving on to the next question.

Additionally, there doesn't seem to be a way to keep track of individual user's scores. Perhaps the scores could somehow be associated with their Wiki Login?

Need ability to track answers and attendance

[edit source]

I'm in charge of the training program and am looking for a better way to get training and awareness materials plus tests to about ~1000 users. I would need the ability to:

  • See who has accessed the training materials, i.e., watched a video or followed a link to the video
  • See who has taken the quiz
  • See what their scores were
  • Set a pass/fail threshold
  • Disallow tampering with the source code
  • Disallow re-taking of a question or test/quiz once answered
  • Have MediaWiki and/or an extension that works with Active Directory so users don't have to create an account or login--the software would just know who they were once they hit the Wiki's URL.
  • I'm open to using a fresh MediaWiki installation or a packaged deal that may cost a little money

Couple of Question Types

[edit source]

could you add a quiz type which requires placing a list of items in order (horizontal for lexical, vertical is good for chronological)

A B C D E 
_ _ _ _ _ 

with context hint

A I U
__ E __ O __

Matching List

[edit source]

and another type - matching two lists:

1 oranges    [] are yellow
2 apples     [] make honey
3 bees       [] are sweet
4 lemon      [] are orange

(could be done with drop list like http://hotpot.uvic.ca/wintutor6/jmatch1.htm

OrenBochman (talk) 16:23, 17 March 2012 (UTC)Reply

How did I Break?

[edit source]

Had this extension installed and working fine since early 2010. Then this year I seemed to have somehow broken this extension. Have worked through all other extensions to see if clash, delete and reinstall one by one, with no luck. My IT support guru cannot find problem so I am here for any suggestions. Answers display when page reloaded and no formatting appears. Wonderful extension, I miss it......

http://php.med.unsw.edu.au/embryology/index.php?title=ANAT2341_Quiz_Example

121.44.164.125 Mark H. 00:32, 11 June 2012 (UTC)Reply

Need ability to track answers and attendance

[edit source]

I'm in charge of the training program at work and am looking for a better way to get training and awareness materials plus tests to about ~1000 users. I would need the ability to:

  • See who has accessed the training materials, i.e., watched a video or followed a link to the video
  • See who has taken the quiz
  • See what their scores were
  • Set a pass/fail threshold
  • Disallow tampering with the source code
  • Disallow re-taking of a question or test/quiz once answered
  • Have MediaWiki and/or an extension that works with Active Directory so users don't have to create an account or login--the software would just know who they were once they hit the Wiki's URL from inside our domain.
  • I'm open to using a fresh MediaWiki installation or a packaged deal that may cost a little money

How to hide feedbacks before correction?

[edit source]

Hello.

Sorry for the question that may be recurent, but I have an issue when displaying the quizzes, means the feedback are displayed from the begining, before I press the submit button.

I am running Windows 10 version 1607, build 14493.693 I tried both Google Chrome 56.0.2924.87 and Internet Explorer 11.576.14393.0 and Javascript is enabled on both browsers.

Any idea on what I have missed?

Thank you for your reply.

Regards,

--Sundgauvien38 (discusscontribs) 09:03, 7 March 2017 (UTC)Reply

Looks to had been a bug that is now fixed (see here).
--Sundgauvien38 (discusscontribs) 11:52, 9 March 2017 (UTC)Reply

How to random selection of questions?

[edit source]

I want 10 of the 50 questions to be randomly selected on an exam page.

<quiz> <ramdomArea> {{:simplequiz}} {{:simplequiz2}} {{:simplequiz3}}

something like this

can it be done?

Script to Convert Wikiversity Quiz Questions for Use in Learning Management Systems including Moodle and Canvas using Respondus Template

[edit source]

Hi,

I created a Python script that will convert Wikiversity multiple choice questions with feedback to a standard template that is compatible with many learning management systems (LMS). The script is available here: https://github.com/JMMaok/wikiversity-conversion .

This was something that I created for my own goals, including to learn Python, so I recognize its limitations. Yet if you have a large number of multiple choice questions in Wikiversity and want to put them in an LMS, this script will save a lot of time.

Please let me know if there is a better place or way to share this with the Wikiversity community.

JMMaok (discusscontribs) 20:40, 17 January 2022 (UTC)Reply

Use of '}'

[edit source]

How can I use closing curly brackets within the 'Question' part? '}' an important element of many programming languages. E.g.:

{Is there a syntax error?
<syntaxhighlight lang="JavaScript">
var persons = ['Alice', 'Bert', 'Caesar'];
for (var i = 0; i < persons.length; i++) {
  alert(persons[i]);
}
</syntaxhighlight>
|type="()"}
- Yes
+ No

Currently, the template renders to: Is there a syntax error? <syntaxhighlight lang="JavaScript"> var persons = ['Alice', 'Bert', 'Caesar']; for (var i = 0; i < persons.length; i++) {

 alert(persons[i]);

because the closing curly bracket of the JavaScript example closes the template. Kelti (discusscontribs) 14:49, 21 October 2022 (UTC)Reply

@Kelti You might try {}. (View source for details.) -- Dave Braunschweig (discusscontribs) 02:04, 22 October 2022 (UTC)Reply
HTML entities are not recognized. They are shown verbatim. --Kelti (discusscontribs) 04:33, 22 October 2022 (UTC)Reply