strip trailing whitespace

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10765 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
strip trailing whitespace, some PEP8

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10766 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
mw 1.21wmf5

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10767 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Page.comment() method added.
Page edit restriction will raise if the last comment contents the bots username. In most cases the previous edit was reverted.

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10769 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
update language_by_size

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10770 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
L10N for hy-wiki, bug #3594224

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10773 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
New functionality for bot restriction templates "bots" and "nobots".
"nobots" may have a parameter either a script name or a bots username.
{{nobots|interwiki}} denies all bots using interwiki.py 
{{nobots|botname}} is equal to {{bots|deny=botname}}
{{nobots|all}} is equal to {{nobots}} and prohibits all bot edits.

"bots" has two new parameter "allowscript" and "denyscript". Guess what it does.


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10774 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
follow up for r10774, update from rewrite


git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10776 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
use staticmethod decorator, shorten pagegenerators, enable keyboardinterrupt,
use defaultNamespace for creating template page

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10777 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Finally problem of wikidata is solved and fixing of my previous commits

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10779 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
wikidata as a shared repository for wikipedia_family.py, update from rewrite r10783

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10784 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
shared_data_repository() method from rewrite r10625

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10785 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
corresponding image_repository and data_repository of a Page from rewrite r10781;
use site name from the origin site for calling wikidata;
shared repository methods from rewrite r10640, r10674, r10719, r10720
some minor PEP8 changes

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10786 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
fix for bug #3594792

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10788 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
essage=bugfix when reporting

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10789 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
essage=bugfix when reporting

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10790 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
Reworked CaseChecker for a number of new possibilities (redirects, etc)
Minor compile fixes

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10792 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
update namespaces aliases

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10793 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
update namespaces aliases

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10794 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6
update language_by_size

git-svn-id: http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia@10795 6a7f98fc-eeb0-4dc1-a6e2-c2c589a08aa6