[Wikia-l] New Repo - Wikia-Pywikibot

DanTMan dan_the_man at telus.net
Fri Apr 25 20:31:24 UTC 2008


That's because you're still using the path function. I had that same 
error, pywikipediabot gave a new function scriptpath which defaults to 
outputting a '/w'. The new setup has path and apipath depending on that. 
You override path to use the proper form, but because scriptpath still 
outputs a /w the apipath is still considered /w/api.php. To fix that you 
would instead override scriptpath and output ''.

^_^ But don't worry about that. I committed a new family file. Though 
your 'aocwiki' goes against the naming standards I'm using for my family 
files, so I just used 'aoc'.
http://svn.nadir-point.com/viewvc/wikia-pywikibot/families/aoc_family.py?view=markup

However your entries for aocfinland are largely broken, and they use a 
completely different structure than Wikia. Do you absolutely need it? If 
you absolutely need it I can make one for that wiki as 'aocfinland' even 
though I'm avoiding putting most non-wikia wiki in the repo.

~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)

Victor wrote:
> Nice job there :)
>
> I have one setup for aoc.
>
> http://aoc.wikia.com/wiki/User:Daworm/aocwikia_family.py
>
> Although my bot doesn't seem to do anything at all, something about api.php
> and an error from that...
> :(
>
>
>
> On Fri, Apr 25, 2008 at 1:56 PM, DanTMan <dan_the_man at telus.net> wrote:
>
>   
>>      *Triple posting to Wikia-l, Wikia-Tech-l, and Wikia-Bots-l for
>> relevance.*
>> ^_^ As a favor for some who requested it, I'm now maintaining something
>> that a large number of bot users on Wikia should love.
>>
>> In IRC someone requested that I create a new SVN repo for the family files
>> I've been hoarding (heh, just never had an easy way to publish them that
>> didn't lag).
>>
>> So now... I have a brand new wikia-pywikibot repo in my SVN setup.
>>
>> The repo is primarily a clone of the pywikipediabot repo. However, instead
>> of the mass number of their family files, there are a few family files from
>> there brought over, but the families/ folder actually consists primarily of
>> wikia family files that I've compiled over the ages of requests.
>>
>> Of course, since it's something I'm using a merge tool for, it'll lag
>> behind the actual pywikipediabot distro a little bit. But I'll try to update
>> it whenever I need to run a bot. And of course, anyone can come into #wikia
>> at any time and poke me to merge in changes from the pywikipediabot repo.
>>
>> Additionally, the repo contains most of the various assortment of used,
>> defunct, half-baked, and obsolete bot scripts I've built. Of course, most
>> are pointless. However, a few of them (batchcmd.py is probably a good
>> example) are fairly useful. I'm going to try an clean the comments up in
>> them to note which are good and which are bad. But a fair bit of them are
>> good for seeing methods of programing special bots that can be used.
>> Especially with how I'm known for my sync bots.
>>
>> So, anyone can view the repo online at:
>>     http://svn.nadir-point.com/viewvc/wikia-pywikibot/
>>
>> And it can be checked out with:
>>     svn://svn.nadir-point.com/wikia-pywikibot/ <your-dir-name>
>>
>> Additionally, since I have the tarball option enabled which SF doesn't.
>> People who absolutely can't use SVN (Though I would absolutely recommend
>> using SVN rather than just downloading) can download a recent snapshot with:
>>     http://svn.nadir-point.com/viewvc/wikia-pywikibot.tar.gz
>>
>> However, please only use that option if you're just trying to get it setup
>> for a one time only thing. Please don't go repeat downloading snapshots to
>> update your copy. It will be much easier on yourself, and less greedy of my
>> bandwidth if you use subversion.
>>
>> Of course, if you only want some family files.
>>     http://svn.nadir-point.com/viewvc/wikia-pywikibot/families.tar.gz
>>
>> A number of family files are pre-loaded, and so it's easier to get running
>> on wikia. Just checkout, then head over to the normal Pywikipediabot page to
>> get instructions on configuring it:
>>     http://meta.wikimedia.org/wiki/Pywikipediabot
>>
>> I'm considering creating a simple cli script for building and updating a
>> wikia-specific user-config.py file for those who aren't that knowledgeable
>> about it.
>>
>> But just for now... I'll go and write up a new family file for
>> communitytest so that people can have at the system with a pre-distributed
>> family file for Wikia's test wiki.
>>
>> And of course, if any of you have any wikia wiki you need a family file
>> for, I'd be happy to draft up a new file for it.
>>
>> Also feel free to poke me for removal of any wikimedia specific scripts
>> there, and also if you have any handy scripts you want me to commit for you.
>> However, I'll need to look over some security stuff before I give out commit
>> access to other people.
>>
>> --
>> ~Daniel Friesen(Dantman) of:
>> -The Gaiapedia (http://gaia.wikia.com)
>> -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
>> -and Wiki-Tools.com (http://wiki-tools.com)
>>
>>
>> _______________________________________________
>> Wikia-l mailing list
>> Wikia-l at wikia.com
>> http://lists.wikia.com/mailman/listinfo/wikia-l
>>
>>
>>     
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wikia-l mailing list
> Wikia-l at wikia.com
> http://lists.wikia.com/mailman/listinfo/wikia-l
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikia.com/pipermail/wikia-l/attachments/20080425/9e25936d/attachment-0004.html 


More information about the Wikia-l mailing list