<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://katlas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RolcoAldel</id>
	<title>Knot Atlas - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://katlas.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RolcoAldel"/>
	<link rel="alternate" type="text/html" href="https://katlas.org/wiki/Special:Contributions/RolcoAldel"/>
	<updated>2026-05-16T06:28:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://katlas.org/index.php?title=WikiLink_-_The_Mediawiki_Interface&amp;diff=1691757</id>
		<title>WikiLink - The Mediawiki Interface</title>
		<link rel="alternate" type="text/html" href="https://katlas.org/index.php?title=WikiLink_-_The_Mediawiki_Interface&amp;diff=1691757"/>
		<updated>2008-07-11T23:17:58Z</updated>

		<summary type="html">&lt;p&gt;RolcoAldel: lavarrelchi&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;boalroc&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
WikiLink is available as a standalone package, suitable for use with any Mediawiki installation, and is included in the [[KnotTheory`]] package.&lt;br /&gt;
&lt;br /&gt;
====License====&lt;br /&gt;
&amp;lt;tt&amp;gt;WikiLink.nb&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;WikiLink.m&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;wikilink.jar&amp;lt;/tt&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
====Download====&lt;br /&gt;
If you already have [[KnotTheory`]] installed, there&#039;s no need to install anything. The functionality of WikiLink is available as soon as you open KnotTheory`.&lt;br /&gt;
&lt;br /&gt;
Otherwise, download [http://katlas.math.toronto.edu/svn/WikiLink/tags/stable/WikiLink.zip WikiLink.zip]. Unzip this anywhere you like. This will create a subdirectory called WikiLink, containing (at least) these files:&lt;br /&gt;
{| border=1&lt;br /&gt;
|-&lt;br /&gt;
!Filename&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;mathematica/WikiLink.nb&amp;lt;/tt&amp;gt;&lt;br /&gt;
| The Mathematica notebook containing wrapper function definitions.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;mathematica/WikiLink.m&amp;lt;/tt&amp;gt;&lt;br /&gt;
| The Mathematica package automatically generated from &amp;lt;tt&amp;gt;WikiLink.nb&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;tt&amp;gt;wikilink.jar&amp;lt;/tt&amp;gt;&lt;br /&gt;
| The WikiLink java classes and source code.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;tt&amp;gt;jars/jdom.jar&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;jars/commons-httpclient-3.0-rc2.jar&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;jars/commons-codec-1.3.jar&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;jars/commons-lang-2.1.jar&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;jars/commons-logging.jar&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
| Libraries (all available under either GPL or the Apache license) required by &amp;lt;tt&amp;gt;wikilink.jar&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Importing the package in Mathematica====&lt;br /&gt;
If you&#039;re not using KnotTheory`, first, you&#039;ll need to set some paths, so WikiLink` can find the java files it needs. You need to add the &amp;quot;mathematica/&amp;quot; subdirectory of the WikiLink distribution to the Mathematica $Path.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--$$WikiLinkPath = &amp;quot;/path/to/WikiLink/mathematica/&amp;quot;;$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{In|&lt;br /&gt;
n  = 1 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiLinkPath = &amp;quot;/path/to/WikiLink/mathematica/&amp;quot;;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$AppendTo[$Path, WikiLinkPath];$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{In|&lt;br /&gt;
n  = 2 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;AppendTo[$Path, WikiLinkPath];&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$&amp;lt;&amp;lt;WikiLink`$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{In|&lt;br /&gt;
n  = 3 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;&amp;lt;&amp;lt;WikiLink`&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve already loaded KnotTheory` (e.g., with the statement &amp;lt;code&amp;gt;&amp;lt;&amp;lt;KnotTheory`&amp;lt;/code&amp;gt;), you can simply begin at this point.&lt;br /&gt;
&lt;br /&gt;
We then try to connect to the wiki. Executing this line will prompt you for a username and password.&lt;br /&gt;
&amp;lt;!--This instruction is just a fake; we&#039;re not really running this one in Mathematica, because it makes a new WikiLink session! :-)&lt;br /&gt;
&amp;lt;!--CreateWikiConnection[&lt;br /&gt;
  &amp;quot;http://katlas.math.toronto.edu/w/index.php&amp;quot;,&lt;br /&gt;
  InputString[&amp;quot;Enter Your Username:&amp;quot;],&lt;br /&gt;
  InputString[&amp;quot;Enter Your Password:&amp;quot;]&lt;br /&gt;
  ]--&amp;gt;&lt;br /&gt;
{{In|&lt;br /&gt;
n  = 6 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;CreateWikiConnection[&lt;br /&gt;
  &amp;quot;http://katlas.math.toronto.edu/w/index.php&amp;quot;,&lt;br /&gt;
  InputString[&amp;quot;Enter Your Username:&amp;quot;],&lt;br /&gt;
  InputString[&amp;quot;Enter Your Password:&amp;quot;]&lt;br /&gt;
  ]&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
The function &amp;lt;code&amp;gt;WikiUserName[]&amp;lt;/code&amp;gt; checks that we&#039;re logged in&lt;br /&gt;
&amp;lt;!--$$?WikiUserName$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{HelpLine|&lt;br /&gt;
n  = 4 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiUserName&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;WikiUserName[] returns either the name of the user you are logged in as, your IP address if you&#039;re not logged in, or $Failed if something more complicated has happened!&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$WikiUserName[]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 5 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiUserName[]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;ScottManualRobot&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Usage====&lt;br /&gt;
WikiLink` provides functions for checking your login status, getting and setting pages, as well as transparently extending some of Mathematica&#039;s string manipulation functions to wiki pages.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--$$?WikiUserName$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{HelpLine|&lt;br /&gt;
n  = 6 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiUserName&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;WikiUserName[] returns either the name of the user you are logged in as, your IP address if you&#039;re not logged in, or $Failed if something more complicated has happened!&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--$$?WikiGetPageText$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{HelpLine|&lt;br /&gt;
n  = 7 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiGetPageText&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;WikiGetPageText[pagename] returns the raw text of the specified page.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$?WikiSetPageText$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{HelpLine|&lt;br /&gt;
n  = 8 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiSetPageText&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;WikiSetPageText[pagename, text] overwrites the contents of the specificied page with the given text.&lt;br /&gt;
WikiSetPageText[pagename, text, summary] overwrites the contents of the specificied page with the given text and notes summary in the change log.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$?WikiSetPageTexts$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{HelpLine|&lt;br /&gt;
n  = 9 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiSetPageTexts&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;WikiSetPageText[{{pagename1, text1},{pagename2,text2},...}] efficiently sets multiple pages, by first checking which texts are already up to date.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$?WikiUploadFile$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{HelpLine|&lt;br /&gt;
n  = 10 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiUploadFile&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;WikiUploadFile[name, description] uploads the specified file to the wiki.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus for example after&lt;br /&gt;
&amp;lt;!--$$WikiSetPageText[&amp;quot;Sandbox&amp;quot;, &amp;quot;A robotic edit, at 19:39, 31-August-2005.&amp;quot;]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 11 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiSetPageText[&amp;quot;Sandbox&amp;quot;, &amp;quot;A robotic edit, at 19:39, 31-August-2005.&amp;quot;]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;True&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
we get&lt;br /&gt;
&amp;lt;!--$$WikiGetPageText[&amp;quot;Sandbox&amp;quot;]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 12 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiGetPageText[&amp;quot;Sandbox&amp;quot;]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;A robotic edit, at 19:39, 31-August-2005.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The function &amp;lt;code&amp;gt;WikiSetPageTexts&amp;lt;/code&amp;gt; is most useful for batch uploads, as it does considerably more error checking, and filters out edits which won&#039;t change the page text. It takes as argument a list of &amp;lt;code&amp;gt;{&amp;quot;title&amp;quot;, &amp;quot;text&amp;quot;}&amp;lt;/code&amp;gt; pairs, and returns a list of those pairs which failed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--$$WikiSetPageTexts[{{&amp;quot;Sandbox&amp;quot;, &amp;quot;A robotic edit, by --~~&amp;quot;&amp;lt;&amp;gt;&amp;quot;~~&amp;quot;}, {&amp;quot;Sandbox2&amp;quot;, &amp;quot;The determinant of the knot [[3_1]] is 3.&amp;quot;}}]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 13 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiSetPageTexts[{{&amp;quot;Sandbox&amp;quot;, &amp;quot;A robotic edit, by --~~&amp;quot;&amp;lt;&amp;gt;&amp;quot;~~&amp;quot;}, {&amp;quot;Sandbox2&amp;quot;, &amp;quot;The determinant of the knot [[3_1]] is 3.&amp;quot;}}]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;{}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$WikiGetPageText[&amp;quot;Sandbox2&amp;quot;]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 14 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiGetPageText[&amp;quot;Sandbox2&amp;quot;]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;The determinant of the knot [[3_1]] is 3.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====String manipulation functions=====&lt;br /&gt;
&amp;lt;code&amp;gt;WikiLink`&amp;lt;/code&amp;gt; provides functions WikiPageMatchQ, WikiPageFreeQ, WikiStringReplace and WikiStringCases. Each function works likes its usual Mathematica partner,&lt;br /&gt;
[http://documents.wolfram.com/mathematica/functions/StringMatchQ StringMatchQ],&lt;br /&gt;
[http://documents.wolfram.com/mathematica/functions/StringFreeQ StringFreeQ],&lt;br /&gt;
[http://documents.wolfram.com/mathematica/functions/StringReplace StringReplace]&lt;br /&gt;
or [http://documents.wolfram.com/mathematica/functions/StringCases StringCases]. Instead of providing a string, or list of strings, as the first argument, you should give the name of a page, or a list of names.&lt;br /&gt;
&lt;br /&gt;
You can use these to perform all sorts of editing tricks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--$$WikiPageMatchQ[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;determinant&amp;quot;]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 15 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiPageMatchQ[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;determinant&amp;quot;]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;{False, False}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$WikiPageFreeQ[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;[[&amp;quot;~~(DigitCharacter..)~~&amp;quot;_&amp;quot;~~(DigitCharacter..)~~&amp;quot;]]&amp;quot;]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 16 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiPageFreeQ[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;[[&amp;quot;~~(DigitCharacter..)~~&amp;quot;_&amp;quot;~~(DigitCharacter..)~~&amp;quot;]]&amp;quot;]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;{True, False}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$WikiStringCases[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;[[&amp;quot;~~ShortestMatch[__]~~&amp;quot;]]&amp;quot;]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 17 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiStringCases[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;[[&amp;quot;~~ShortestMatch[__]~~&amp;quot;]]&amp;quot;]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;{{Sandbox, {[[User:ScottManualRobot|ScottManualRobot]]}}, &lt;br /&gt;
 &lt;br /&gt;
  {Sandbox2, {[[3_1]]}}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$WikiStringReplace[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;robotic edit&amp;quot;-&amp;gt;&amp;quot;robotic edit (using WikiLink`)]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 18 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiStringReplace[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}, &amp;quot;robotic edit&amp;quot;-&amp;gt;&amp;quot;robotic edit (using WikiLink`)]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;$Failed&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&amp;lt;!--$$WikiGetPageTexts[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}]$$--&amp;gt;&lt;br /&gt;
&amp;lt;!--Robot Land, no human edits to &amp;quot;END&amp;quot;--&amp;gt;&lt;br /&gt;
{{InOut|&lt;br /&gt;
n  = 19 |&lt;br /&gt;
in = &amp;lt;nowiki&amp;gt;WikiGetPageTexts[{&amp;quot;Sandbox&amp;quot;, &amp;quot;Sandbox2&amp;quot;}]&amp;lt;/nowiki&amp;gt; |&lt;br /&gt;
out= &amp;lt;nowiki&amp;gt;{{Sandbox, A robotic edit, by\&lt;br /&gt;
 &lt;br /&gt;
    --[[User:ScottManualRobot|ScottManualRobot]] 14:54, 18 Feb 2006\&lt;br /&gt;
 &lt;br /&gt;
    (EST)}, {Sandbox2, The determinant of the knot [[3_1]] is 3.}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!--END--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
The instruction &amp;lt;code&amp;gt;ShowJavaConsole[]&amp;lt;/code&amp;gt; will bring up a window in which some debugging information is displayed.&lt;br /&gt;
&lt;br /&gt;
====Compatibility====&lt;br /&gt;
WikiLink (with some modifications made in July 2007) appears to work with mediawiki 1.10.1. Bug reports appreciated!&lt;br /&gt;
&lt;br /&gt;
WikiLink has been tested against mediawiki 1.4.5beta3 and 1.4.7.&lt;br /&gt;
&lt;br /&gt;
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.  --[[User:Scott|Scott]] 10:56, 27 Mar 2006 (EST)&lt;br /&gt;
&lt;br /&gt;
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&#039;ve tried this, please let me know about your experiences. I&#039;m hoping that soon (1.5?) [[Special:Import]] will become available, and I can switch to using this. --[[User:Scott|Scott]] 15:57, 31 Aug 2005 (EDT)&lt;br /&gt;
&lt;br /&gt;
====Todo====&lt;br /&gt;
I&#039;d love to [http://ant.apache.org/manual/develop.html#writingowntask create an Ant task] which allows uploading a file to a wiki. We could then use this in build scripts for KnotTheory, etc. --[[User:Scott|Scott]] 04:07, 17 Sep 2005 (EDT)&lt;br /&gt;
&lt;br /&gt;
====See Also====&lt;br /&gt;
All of the Mathematica notebooks in [[:Category:Knot Atlas Maintenance Software]] rely on WikiLink, and so are good examples of how to use it.&lt;br /&gt;
&lt;br /&gt;
You may also be interested in the Wikipedia page on [http://en.wikipedia.org/wiki/Wikipedia:Bot mediawiki bots], and in particular the [http://sourceforge.net/projects/pywikipediabot/ Python Wikipedia Robot Framework].&lt;/div&gt;</summary>
		<author><name>RolcoAldel</name></author>
	</entry>
</feed>