Manual:Pywikibot/Cookbook
This page is currently a draft.
|
File:Pywikibot MW gear icon.svg |
Pywikibot |
---|
|
· <span style="" title="<translate nowrap> Edit this template</translate>"><translate> e</translate> |
Pywikibot is the ninth wonder of the world, the eighth being MediaWiki itself.
Pywikibot is very flexible and powerful tool to edit Wikipedia or another MediaWiki instance.
However, there comes the moment when you feel that something is missing from it, and the Universe calls you to write your own scripts.
Don't be afraid, this is not a disease, this is the natural way of personal evolution.
Pywikibot is waiting for you: you will find the scripts/userscripts
directory, which is ready to host your scripts.
This book is for you, if you
- already have some experience with Pywikibot and have some vision about its capabilities
- have some basic knowledge of Python and object-oriented programming
- want to hack your own scripts
- are already familiar with Manual:Pywikibot and especially Manual:Pywikibot/Create your own script (Library usage is also very useful, but more complex).
For general help see the bottom right template. In this book we go imto coding examples with some deeper explanation.
(A personal confession from the creator of this page: I just wanted to use Pywikipedia, as we called it in the old times, then I wanted to slightly modify some of the scripts to better fit to my needs, then I went to the book store and bought my first Python book. So it goes.)
Begin the tour with the contents on the right side.