WikiLink` package: Difference between revisions

From Knot Atlas
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[User:Scott|Scott]] has written a small package to facilitate wiki-editing programmatically through Mathematica. It can post and retrieve pages (just the current revision), and supports mediawiki user accounts, so is suitable for building a bot.
[[User:Scott|Scott]] has written a small package to facilitate wiki-editing programmatically through Mathematica. It can post and retrieve pages (just the current revision), and supports mediawiki user accounts, so is suitable for building a bot.


The package requires a version of Mathematica with J/Link (4.2 and above should do). Download the package [[Image:MathematicaWikiInterface.zip|here]]. You'll need to unzip the file somewhere, then open `package-test.nb' in Mathematica. Change the first line to point to the path you unzip the file to, and execute all the lines to see how the package works.
The package requires a version of Mathematica with J/Link (4.2 and above should do). Download the package [[Media:MathematicaWikiInterface.zip|here]]. You'll need to unzip the file somewhere, then open `package-test.nb' in Mathematica. Change the first line to point to the path you unzip the file to, and execute all the lines to see how the package works.


The code is available under your choice of either the MIT or GPL license, copyright Scott Morrison 2005. Source code is available directly through the wiki, at [[mediawiki.java]] and [[mediawiki.m]]. The java component requires (and includes) the JDOM packages, and Apache's httpclient packages, both of which are available under Apache style licenses.
The code is available under your choice of either the MIT or GPL license, copyright Scott Morrison 2005. Source code is available directly through the wiki, at [[mediawiki.java]] and [[mediawiki.m]]. The java component requires (and includes) the JDOM packages, and Apache's httpclient packages, both of which are available under Apache style licenses.

Revision as of 00:35, 16 August 2005

Scott has written a small package to facilitate wiki-editing programmatically through Mathematica. It can post and retrieve pages (just the current revision), and supports mediawiki user accounts, so is suitable for building a bot.

The package requires a version of Mathematica with J/Link (4.2 and above should do). Download the package here. You'll need to unzip the file somewhere, then open `package-test.nb' in Mathematica. Change the first line to point to the path you unzip the file to, and execute all the lines to see how the package works.

The code is available under your choice of either the MIT or GPL license, copyright Scott Morrison 2005. Source code is available directly through the wiki, at mediawiki.java and mediawiki.m. The java component requires (and includes) the JDOM packages, and Apache's httpclient packages, both of which are available under Apache style licenses.