Yeah no probs Dan.<br><br>Just got sick of the "undeclared namespace" messages to did a quick addition on them and commented out the others :)<br><br><div class="gmail_quote">On Tue, Jul 1, 2008 at 6:42 PM, DanTMan <<a href="mailto:dan_the_man@telus.net">dan_the_man@telus.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<a href="http://svn.nadir-point.com/viewvc/wikia-pywikibot/families/wikia_basefamily.py?view=markup" target="_blank">http://svn.nadir-point.com/viewvc/wikia-pywikibot/families/wikia_basefamily.py?view=markup</a><br>
It's inherited, things like the scriptpath are the same everywhere and
so it's put in the wikia_basefamily that everything inherits from.<br>
However you appear to have modified your file. Could you poke me when
something changes instead.<br>
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.<br>
<br>
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.<br>
<pre cols="72">~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (<a href="http://nadir-point.com" target="_blank">http://nadir-point.com</a>)
--It's Wiki-Tools subgroup (<a href="http://wiki-tools.com" target="_blank">http://wiki-tools.com</a>)
--Games-G.P.S. (<a href="http://ggps.org" target="_blank">http://ggps.org</a>)
-And Wikia ACG on Wikia.com (<a href="http://wikia.com/wiki/Wikia_ACG" target="_blank">http://wikia.com/wiki/Wikia_ACG</a>)</pre>
Victor wrote:
<blockquote type="cite"><div><div></div><div class="Wj3C7c">
<pre>Oh... that doesn't appear to be set..
here is what I have...
-----------------
# -*- coding: utf-8 -*-
import family, wikia_basefamily
# The AoCWiki. (<a href="http://aoc.wikia.com" target="_blank">aoc.wikia.com</a>)
class Family(wikia_basefamily.Family):
def __init__(self):
wikia_basefamily.Family.__init__(self)
<a href="http://self.name" target="_blank">self.name</a> = 'aoc'
self.langs = { 'en': u'<a href="http://aoc.wikia.com" target="_blank">aoc.wikia.com</a>', }
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 <a href="mailto:c.stafford@gmail.com" target="_blank"><c.stafford@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>its active,
<a href="http://aoc.wikia.com/api.php" target="_blank">http://aoc.wikia.com/api.php</a>
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 <a href="mailto:dawormie@gmail.com" target="_blank"><dawormie@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>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 (<a href="http://aoc.wikia.com/" target="_blank">http://aoc.wikia.com/</a>)
_______________________________________________
Wikia-l mailing list
<a href="mailto:Wikia-l@wikia.com" target="_blank">Wikia-l@wikia.com</a>
<a href="http://lists.wikia.com/mailman/listinfo/wikia-l" target="_blank">http://lists.wikia.com/mailman/listinfo/wikia-l</a>
</pre>
</blockquote>
<pre>_______________________________________________
Wikia-l mailing list
<a href="mailto:Wikia-l@wikia.com" target="_blank">Wikia-l@wikia.com</a>
<a href="http://lists.wikia.com/mailman/listinfo/wikia-l" target="_blank">http://lists.wikia.com/mailman/listinfo/wikia-l</a>
</pre>
</blockquote>
<pre> </pre>
</div></div><pre><hr size="4" width="90%"><div class="Ih2E3d">
_______________________________________________
Wikia-l mailing list
<a href="mailto:Wikia-l@wikia.com" target="_blank">Wikia-l@wikia.com</a>
<a href="http://lists.wikia.com/mailman/listinfo/wikia-l" target="_blank">http://lists.wikia.com/mailman/listinfo/wikia-l</a></div></pre>
</blockquote>
</div>
<br>_______________________________________________<br>
Wikia-l mailing list<br>
<a href="mailto:Wikia-l@wikia.com">Wikia-l@wikia.com</a><br>
<a href="http://lists.wikia.com/mailman/listinfo/wikia-l" target="_blank">http://lists.wikia.com/mailman/listinfo/wikia-l</a><br></blockquote></div><br><br clear="all"><br>-- <br>Victor ('Daworm')<br>AoCWiki Sysop (<a href="http://aoc.wikia.com/">http://aoc.wikia.com/</a>)