User:WindBOT/Source: Difference between revisions

Jump to navigation Jump to search
m
Line 6: Line 6:
* I am a [http://python.org/ Python] bot. That means you need [http://www.python.org/download/releases/2.6.6/ Python 2.6]. On Ubuntu:
* I am a [http://python.org/ Python] bot. That means you need [http://www.python.org/download/releases/2.6.6/ Python 2.6]. On Ubuntu:
<pre>$ sudo apt-get install python2.6</pre>
<pre>$ sudo apt-get install python2.6</pre>
* I also need [http://upload.gaiatools.com/files/wikitools_mod.tar_0.gz a modified version of wikitools] to use the MediaWiki API. Comes with a separate hand-crafted module called wikiUpload to allow file uploading without MediaWiki 1.16. On Ubuntu:
* I also need [http://upload.gaiatools.com/files/wikitools_mod_0.7z a modified version of wikitools] to use the MediaWiki API. Comes with a separate hand-crafted module called wikiUpload to allow file uploading without MediaWiki 1.16. On Ubuntu:
<pre>$ wget 'http://upload.gaiatools.com/files/wikitools_mod.tar_0.gz'
<pre>$ wget 'http://upload.gaiatools.com/files/wikitools_mod_0.7z'
$ tar xfv wikitools*.tar.gz && rm wikitools*.tar.gz
$ p7zip -d wikitools*.7z && wikitools*.7z
$ mv wikiUpload.py MultipartPostHandler.py `dirname "/path/to/bot.py"`
$ mv wikiUpload.py MultipartPostHandler.py `dirname "/path/to/bot.py"`
$ cd wikitools*
$ cd wikitools*

Navigation menu