Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Javascript Code in MediaWiki

Reply
Thread Tools

Javascript Code in MediaWiki

 
 
Mariana Romão
Guest
Posts: n/a
 
      08-11-2009
Hello,

First I would like to know if anyone here has put javascript code in
mediawiki and have some material that explains how to do it.
Second: I have a wiki where I publish exercises and fields for that
the students to respond and finally send your answers. But I wanted to
change this process so that a student saw only one question to get the
first page and only when he answered that the second question would be
presented and so on.

Anyone have any idea if this is difficult to do and how/where I get
this code?

Thanks,
Mariana
 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      08-13-2009
Mariana Romão wrote:
> First I would like to know if anyone here has put javascript code in
> mediawiki and have some material that explains how to do it.


I have not done this, but I suppose RTFM would be a good start:

<http://meta.wikimedia.org/wiki/Help:Contents>

It is there where I found `<nowiki>...</nowiki>' which might as well be a
solution for your problem.

> Second: I have a wiki where I publish exercises and fields for that
> the students to respond and finally send your answers. But I wanted to
> change this process so that a student saw only one question to get the
> first page and only when he answered that the second question would be
> presented and so on.


As students tend to be smart, you would want to do that server-side, where
there are less possibilities for cheating, so probably not with JavaScript.

We are using Moodle instead, which probably has this particular feature
built-in, too.

> Anyone have any idea if this is difficult to do


Depends.

> and how/where I get this code?


If you want to do it client-side anyway, you will probably need to write it
from scratch.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MediaWiki to RTF/Word/PDF Josh English Python 4 02-18-2010 11:29 AM
Problem for Posting an Article to MediaWiki Server xiejw Java 0 09-01-2006 07:35 AM
PhpWiki to Mediawiki converter in php or perl? news reader Perl Misc 2 04-17-2006 02:48 PM
converting Word to MediaWiki ChiTownBob Python 7 09-29-2005 06:22 PM
OT: MoinMoin and Mediawiki? Paul Rubin Python 23 01-12-2005 11:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57