[Wikia-l] api.php

DanTMan dan_the_man at telus.net
Wed Jul 2 07:02:31 UTC 2008


It should be... Note that the old aoc config file had some extra 
namespaces listed that aoc used to have. However those are gone, however 
the namespace id's those ones used were the same as a few of the ones 
now like the SMW id's, and so they were overriding some of the smw 
namespaces and such. An up to date config has been committed.

~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:
> Just testing, and it doesn't appear to be inhereting your wikia family and
> declaring things ??
>
> On Wed, Jul 2, 2008 at 9:32 AM, Victor <dawormie at gmail.com> wrote:
>
>   
>> Yeah no probs Dan.
>>
>> Just got sick of the "undeclared namespace" messages to did a quick
>> addition on them and commented out the others :)
>>
>>
>> On Tue, Jul 1, 2008 at 6:42 PM, DanTMan <dan_the_man at telus.net> wrote:
>>
>>     
>>> 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> <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> <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 listWikia-l at wikia.comhttp://lists.wikia.com/mailman/listinfo/wikia-l
>>>
>>>        _______________________________________________
>>> Wikia-l mailing listWikia-l at wikia.comhttp://lists.wikia.com/mailman/listinfo/wikia-l
>>>
>>>        ------------------------------
>>>
>>> _______________________________________________
>>> Wikia-l mailing listWikia-l at wikia.comhttp://lists.wikia.com/mailman/listinfo/wikia-l
>>>
>>>
>>> _______________________________________________
>>> Wikia-l mailing list
>>> Wikia-l at wikia.com
>>> http://lists.wikia.com/mailman/listinfo/wikia-l
>>>
>>>       
>>
>> --
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikia.com/pipermail/wikia-l/attachments/20080702/7601abe8/attachment-0004.html 


More information about the Wikia-l mailing list