User talk:Ervinpospisil

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Welcome![edit source]

Hello, Ervinpospisil, and welcome to Uncyclopedia! Thank you for your contributions. I hope you like the place and decide to stay. If not, the door's right over there... no, a little more to your left... yeah. Anyway, here are a few good links for people like you:

If you read anything at all, make it the above three links. If you want to find out more about Uncyclopedia or need more help with something, try these:

I hope you enjoy editing here and being an Uncyclopedian! Please sign your name on talk pages using four tildes (~~~~) or use the "sign" button (Button sig.png) above the edit box. This will automatically produce your name and the date.

At Uncyclopedia, writing articles is not a requirement, but it certainly is a fun and easy way to express your creativity. To write an article, it's recommended that you start it in your userspace (for example, User:Ervinpospisil/Article about stuff) so you can edit it at your leisure. If you decide to create it in the cold world of mainspace, make sure it is in accordance with the policies laid out above, and if you're not done put the "Work-In-Progress" template - {{construction}} - onto it as well.

If you need help, ask me on my talk page, ask at the Dump, or ask an administrator on their talk page. Additionally, the Uncyclopedian Adopt-a-Noob program is there to bring experienced editors straight to you. Simply put {{adoptme}} on your Userpage to join. Again, welcome! --T.K.F. 01:04, 12 April 2007 (UTC)

Bot[edit source]

The default uncyclopedia_family.py file looks like this.

If you are only editing cs you would only need to have this:

# -*- coding: utf-8  -*-
import config, family, urllib

class Family(family.Family):
    def __init__(self):
	family.Family.__init__(self)

	self.name = 'uncyclopedia'
	self.langs = { 'cs': 'necyklopedie.wikia.com', }

	# project namespaces & custom namespace lists

	self.namespaces[4]['cs'] = { '_default': u'Necyklopedie' }
	self.namespaces[5]['cs'] = { '_default': u'Necyklopedie diskuse' }
	self.namespaces[110]['cs'] = { '_default': u'Forum' }
	self.namespaces[111]['cs'] = { '_default': u'Forum talk' }

    def scriptpath(self, code):
        return ''
        
    def hostname(self,code):
        return self.langs[code]

    def path(self, code):
        return '/index.php'

    def version(self, code):
        return '1.13.1'

    def apipath(self, code):
        return '/api.php'

    def code2encoding(self,code):
        return 'utf-8'

Make sure your copy of pywikipedia is up to date and that your bot is using monobook as a skin in preferences. — Sir Manticore progress-wheel.gif 02:35, 5 October 2008 (UTC)

I spoke to someone regarding your login problem, and he suggests:

<uberfuzzy> he probably needs to update his files, they do keep fixing stuff all the time
<uberfuzzy> and his family file is wrong/outdated too from the looks of it
<uberfuzzy> that namespace missing error
<uberfuzzy> and he should try to run login.py first, to make sure he's logging in correctly

Enjoy. :) — Sir Manticore progress-wheel.gif 13:48, 8 October 2008 (UTC)
It would be far easier for you to delete your current (likely outdated) copy and download it again. Follow the steps at http://meta.wikimedia.org/wiki/PywikipediaSir Manticore progress-wheel.gif 18:01, 10 October 2008 (UTC)