[Mediawiki-l] Wikipedia Feature Suggestions (Inline Calculations)
Lee Worden
worden.lee at gmail.com
Wed Nov 9 20:24:40 UTC 2011
FYI: The WorkingWiki extension [1] can be used to plug in any number of
math systems into a MW wiki, including Sage, Octave, Mathematica, etc.
For instance, one you install WW and add a simple makefile rule of the form
> %.sage.out : %.sage
> (command-line operation here)
you can write the following in the wiki page:
<source-file filename="example.sage" display="example.sage.out">
1+2+3
</source-file>
and the number 6 will appear in the output wiki page. You can
alternatively have it produce a %.sage.html or %.sage.wikitext file to
customize the output, and you can set a default display rule so you
don't have to write the display= attribute.
At McMaster we primarily use it with R programs, but also with python,
maxima, and other things.
lw
[1] http://lalashan.mcmaster.ca/theobio/projects/index.php/WorkingWiki
On 11/09/2011 12:41 AM, mediawiki-l-request at lists.wikimedia.org wrote:
> Date: Tue, 8 Nov 2011 18:15:45 -0800 (PST)
> From: badon<fastgoldfish at gmail.com>
> Subject: Re: [Mediawiki-l] Wikipedia Feature Suggestions (Inline
> Calculations)
> To:mediawiki-l at lists.wikimedia.org
> Message-ID:<32808226.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> That is one of the neatest ideas I have heard in a while. If you make an
> extension, please consider making it general enough that many different math
> systems can be plugged into it. My vote is for mathematica, but there are
> many, many others - including a few free and open source packages. Here's a
> good starting point for finding them all:
>
> http://en.wikipedia.org/wiki/Mathematical_software
>
>
>
>
> John W. Foster-2 wrote:
>> >
>> > On Mon, 2011-11-07 at 22:36 -0800, badon wrote:
>>> >> There is this extension, which seems to be designed to do what you're
>>> >> asking
>>> >> for:
>>> >>
>>> >> http://www.mediawiki.org/wiki/Extension:CalcII
>>> >>
>>> >> However, it is quite old and probably in need of updating. Nonetheless,
>>> >> you
>>> >> can give it a try to see if it works for you. Also, if you're inclined to
>>> >> do
>>> >> so, you could get involved in updating and maintaining the extension. I
>>> >> agree, it would be a very nice thing to have for MediaWiki.
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> Jeff Brubaker wrote:
>>>> >> >
>>>> >> > Hi,
>>>> >> > I'm a mechanical engineer and I've been trying online calculations.
>>>> >> > I'd like the ability to integrate calculators directly into wikipedia.
>>>> >> > I think this live attribute would be a great asset to engineers. I put
>>>> >> > an example up at
>>>> >> > http://www.novanumeric.com/wiki/index.php/Quadratic_Formula I did that
>>>> >> > using an iframe though. Is there a better to implement this?
>>>> >> >
>>>> >> > Regards,
>>>> >> > Jeff Brubaker
>>>> >> >
>>>> >> > _______________________________________________
>>>> >> > MediaWiki-l mailing list
>>>> >> > MediaWiki-l at lists.wikimedia.org
>>>> >> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>> >> >
>>>> >> >
>>> >>
>> >
>> > -------------------------
>> > I too would have an interest in something like this as well. I have a
>> > site that we are building that is for folks interested in cutting edge
>> > physics. This might provide an interesting tool for us as well. Perhaps
>> > something that would link into a real mathematics system even.
>> > I,m going to look into this also.
>> > Thanks for the link& the idea.
>> > frosty
>> >
>> >
>> > _______________________________________________
>> > MediaWiki-l mailing list
>> > MediaWiki-l at lists.wikimedia.org
>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>> >
> -- View this message in context:
> http://old.nabble.com/Wikipedia-Feature-Suggestions-%28Inline-Calculations%29-tp32704117p32808226.html
> Sent from the WikiMedia General mailing list archive at Nabble.com.
More information about the MediaWiki-l
mailing list