Dear all,
Hello, I am Gabriel Chi Hong Lee from Hong Kong, I would like to ask that
where is the correct place to learn how to make an pywikipedia-bot? I have
a own wiki that I can try it on there. Please give me some advise. Thank
you!
Gabriel Lee


2013/3/13 <[email protected]>

> Send Pywikipedia-l mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pywikipedia-l digest..."
>
>
> Today's Topics:
>
>    1. Table of contents for scripts and fixes (Bináris)
>    2. Renaming of some German-specific fixes (Bináris)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 13 Mar 2013 11:38:05 +0100
> From: Bináris <[email protected]>
> To: Pywikipedia discussion list <[email protected]>
> Subject: [Pywikipedia-l] Table of contents for scripts and fixes
> Message-ID:
>         <
> cad0l+c8wzhwt7qmkkwr-61knaoyqz6cstv86ri82jvvtt2k...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi gurus,
>
> I have suffered for a long time because I have quite a lot of fixes and I
> can hardly find my way in this jungle and keep a logical order and find old
> ones.
> So I decided to write a script that creates a table of contents int
> fixes.py/user-fixes.py.
>
> Then I thought it should also list main-level variables and functions
> (Python is very good at dissolving main-level things from others :-)). As I
> already wrote earlier, I use several own functions for my fixes ([1]). And
> also header lines of some predefined format. All this script needs a place
> to insert the TOC which should be a predefined constant line, e.g.
> # *** CONTENTS *** #
> (If the script finds the corresponding END CONTENTS line, it clears the
> previous TOC from between these two.)
>
> But then I realized that enhanced with classes this would be useful for any
> kind of scripts without extra work. For example in wikipedia.py which is
> now long, long, and hard to overview.
> Of course, there would be a possibility to leave some kind of data (e.g.
> "no variables please, only functiions and classes"), and two approaches for
> ordering (everything in original order, or fisrt the variables, then
> functions, then fixes...).
> Unfortunately, in some rare cases the length of a line may excced the 80
> characters, which may cause PEP8 and/or Xqt beiing sad. :-)
>
> How does this concept sound?
>
> I will anyhow write it for my own purposes. It is just about community use
> for complicated scripts such as fixes.py or wikipedia.py.
>
> [1]
>
> http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/Fixes_and_functions_HOWTO
> --
> Bináris
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20130313/eda2ef48/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 13 Mar 2013 11:48:24 +0100
> From: Bináris <[email protected]>
> To: Pywikipedia discussion list <[email protected]>
> Subject: [Pywikipedia-l] Renaming of some German-specific fixes
> Message-ID:
>         <CAD0L+c9t=
> [email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I recommend to rename two fixes in fixes.py.
> datum --> datum-de
> music --> music-de
>
> These are both German-specific while their names might be used for other
> languages, too, and this is annoying.
> I will do that if there are no strong objections. (Bot owners who use them
> and don't read the list will then get an error message with the available
> fixes and will easily find the new names.)
>
> Moreover, it's a good philosophical question, how much to include
> language-specific fixes in the common file. I have several dozens of
> Hungarian fixes and never committed them. :-)
>
> --
> Bináris
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20130313/ed6b8f8f/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> Pywikipedia-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
> End of Pywikipedia-l Digest, Vol 68, Issue 12
> *********************************************
>
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to