[Wikia-l] api.php

DanTMan dan_the_man at telus.net
Tue Jul 1 08:42:31 UTC 2008


http://svn.nadir-point.com/viewvc/wikia-pywikibot/families/wikia_basefamily.py?view=markup
It's inherited, things like the scriptpath are the same everywhere and 
so it's put in the wikia_basefamily that everything inherits from.
However you appear to have modified your file. Could you poke me when 
something changes instead.
Those video, property, and I should probably add userbox, are things 
which can be enabled by setting simple self.wikia properties. I wanted 
to avoid cruft inside of family files.

Though, there may be an issue with how Wikia is using a modified version 
of the API, I don't know but it may be missing some things.

~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--Games-G.P.S. (http://ggps.org)
-And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)

Victor wrote:
> Oh... that doesn't appear to be set..
>
> here is what I have...
>
> -----------------
> # -*- coding: utf-8  -*-
> import family, wikia_basefamily
>
> # The AoCWiki. (aoc.wikia.com)
>
> class Family(wikia_basefamily.Family):
>
>         def __init__(self):
>
>                 wikia_basefamily.Family.__init__(self)
>
>                 self.name               = 'aoc'
>                 self.langs              = { 'en': u'aoc.wikia.com', }
>                 self.wikia['projectns'] = 'AoCWiki'
>                 self.wikia['userwiki']  = True
>                 self.wikia['profile']   = True
>                 self.namespaces[112] = { '_default': u'Guild'}
>                 self.namespaces[113] = { '_default': u'Guild talk'}
>                 self.namespaces[300] = { '_default': u'Relation'}
>                 self.namespaces[301] = { '_default': u'Relation talk'}
>                 self.namespaces[302] = { '_default': u'Property'}
>                 self.namespaces[303] = { '_default': u'Property talk'}
>                 self.namespaces[304] = { '_default': u'Type'}
>                 self.namespaces[305] = { '_default': u'Type talk'}
>                 self.namespaces[400] = { '_default': u'Video'}
>                 self.namespaces[401] = { '_default': u'Video talk'}
>                 self.namespaces[500] = { '_default': u'Blog'}
>                 self.namespaces[501] = { '_default': u'Blog talk'}
> #               self.namespaces[507] = { '_default': u'Watercooler'}
>                 self.namespaces[600] = { '_default': u'UserBox'}
>                 self.namespaces[601] = { '_default': u'UserBox talk'}
> #               self.namespaces[700] = { '_default': u'Link'}
> #               self.namespaces[701] = { '_default': u'Link talk'}
>
>                 self.disambiguationTemplates = {'_default': u'Disambig',}
>                 self.disambcatname = {'_default': u'Disambiguation',}
>
>                 wikia_basefamily.Family.initNamespaces(self)
> -----------------
>
> On Tue, Jul 1, 2008 at 12:44 PM, C Stafford <c.stafford at gmail.com> wrote:
>
>   
>> its active,
>> http://aoc.wikia.com/api.php
>>
>> if your talking about the python wiki bot, make sure you have the "script
>> path" setup right in your family files, it should be /   not  /w
>>
>>
>> On Mon, Jun 30, 2008 at 10:24 PM, Victor <dawormie at gmail.com> wrote:
>>
>>     
>>> Is / will the api.php be activated on wikia wiki's ?
>>>
>>> Or is it activated?
>>> I tried out a script from botwiki the other week and it wasn't working,
>>> apparently because api.php isn't "active".
>>>
>>> If it is active, does this cause any security issues or problems with a
>>> wiki's operation?
>>>
>>> --
>>> Victor ('Daworm')
>>> AoCWiki Sysop (http://aoc.wikia.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
>>
>>     
>
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20080701/328e5813/attachment-0004.html 


More information about the Wikia-l mailing list