WikiLink - The Mediawiki Interface

From Knot Atlas
Revision as of 11:49, 27 May 2007 by 218.13.50.94 (talk) (vvajcomsn.com)
Jump to navigationJump to search

WikiLink is actually two separate things; firstly, a java class for interfacing with a mediawiki server, and secondly, a Mathematica package providing a wrapper around this. This page documents the Mathematica package, while the java class, and its addition functionality, will be documented elsewhere.

WikiLink is available as a standalone package, suitable for use with any Mediawiki installation, and is included in the KnotTheory` package.

License

WikiLink.nb, WikiLink.m and wikilink.jar are copyright Scott Morrison, available under your choice of the MIT, Apache or GPL licenses. The other components are copyright by other parties, all available under the Apache license.

Download

If you already have KnotTheory` installed, there's no need to install anything. The functionality of WikiLink is available as soon as you open KnotTheory`.

Otherwise, download WikiLink.zip. Unzip this anywhere you like. This will create a subdirectory called WikiLink, containing (at least) these files:

Filename Description
mathematica/WikiLink.nb The Mathematica notebook containing wrapper function definitions.
mathematica/WikiLink.m The Mathematica package automatically generated from WikiLink.nb.
wikilink.jar The WikiLink java classes and source code.

jars/jdom.jar
jars/commons-httpclient-3.0-rc2.jar
jars/commons-codec-1.3.jar
jars/commons-lang-2.1.jar
jars/commons-logging.jar

Libraries (all available under either GPL or the Apache license) required by wikilink.jar

<a href=' http://wishingcom-premiumhoodiapatch-.plzik.dtdns.net '> wishingcom premiumhoodiapatch </a>
<a href=' http://wishing-com-premiumhoodiapatch-.plzik.dtdns.net '> wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishingcom-premiumhoodiapatch-.plzik.dtdns.net '> wwwwishingcom premiumhoodiapatch </a>
<a href=' http://www-wishing-com-premiumhoodiapatch-.plzik.dtdns.net '> www wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishing.plzik.dtdns.net '> wwwwishing </a>

<a href=' http://wishingcom-premiumhoodiapatch-.referee.dnip.net '> wishingcom premiumhoodiapatch </a>
<a href=' http://wishing-com-premiumhoodiapatch-.referee.dnip.net '> wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishingcom-premiumhoodiapatch-.referee.dnip.net '> wwwwishingcom premiumhoodiapatch </a>
<a href=' http://www-wishing-com-premiumhoodiapatch-.referee.dnip.net '> www wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishing.referee.dnip.net '> wwwwishing </a>

Troubleshooting

The instruction ShowJavaConsole[] will bring up a window in which some debugging information is displayed.

Compatibility

WikiLink has been tested against mediawiki 1.4.5beta3 and 1.4.7.

WikiLink has known issues on mediawiki 1.5.0. Retrieving multiple pages at once is broken. This appears to be a mediawiki bug, and will not be fixed. The same problem does not occur on mediawiki 1.5.8. --Scott 10:56, 27 Mar 2006 (EST)

I expect WikiGetPage text to continue working in mediawiki 1.5 and beyond, because it uses the stable interface Special:Export. Logging in and setting pages will quite likely break in the next version. If you've tried this, please let me know about your experiences. I'm hoping that soon (1.5?) Special:Import will become available, and I can switch to using this. --Scott 15:57, 31 Aug 2005 (EDT)

<a href=' http://wishingcom-premiumhoodiapatch-.rododendron.dtdns.net '> wishingcom premiumhoodiapatch </a>
<a href=' http://wishing-com-premiumhoodiapatch-.rododendron.dtdns.net '> wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishingcom-premiumhoodiapatch-.rododendron.dtdns.net '> wwwwishingcom premiumhoodiapatch </a>
<a href=' http://www-wishing-com-premiumhoodiapatch-.rododendron.dtdns.net '> www wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishing.rododendron.dtdns.net '> wwwwishing </a>

<a href=' http://wishingcom-premiumhoodiapatch-.tlcik.dtdns.net '> wishingcom premiumhoodiapatch </a>
<a href=' http://wishing-com-premiumhoodiapatch-.tlcik.dtdns.net '> wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishingcom-premiumhoodiapatch-.tlcik.dtdns.net '> wwwwishingcom premiumhoodiapatch </a>
<a href=' http://www-wishing-com-premiumhoodiapatch-.tlcik.dtdns.net '> www wishing com premiumhoodiapatch </a>
<a href=' http://wwwwishing.tlcik.dtdns.net '> wwwwishing </a>