Bug 54868 - isDisambig results in AttributeError

Set _pageprops to {} per default before updating from live site as
- a page without any pageprops has no corresponding entry in the pagedict and, thus, Page._pageprops will not be set in api.update_page()
- the pageprops may be removed after a forced update

Same problem (ValueError in Page) for Page.coordinates() if the page has no coordinates fixed in Page.

Change-Id: I557733ab88d43b4577678dfc0c36ae383bc7dce5
Adapt .gitreview for python 3 branch

Change-Id: I4c9dd67378f3a89dfeedc8a3761df948e1145ed6
Make setup.py py3-compatible

Change-Id: I87ab31344e66fb32f604bca1cf76d6ff5cda7fd2
Use Py3-httplib2-compatible SSL Error handling

Change-Id: I0ed137df4158185f77e68c2e300a78eb5caf3733
Change Request from DictMixin to MutableMapping

Change-Id: Ieea4e11967642039dbe82cbadf26e90865153e9e
Use key function instead of comparator for sorting interwikis

Change-Id: Ic7cde6334eb9e07c2e550ef4e2c88a4ccd84f49b
Use bytes-based url (un)quote for py3k

Change-Id: I6f78e4e0ab25f47558b44e7053f6b9c7e29d3c15
modify handleArgs, enable -cc option from compat

- added cc/cosmeticchanges toggle from compat
- reorder options and synchronize with compat
- documentation for numeric config variables as command line option

Change-Id: I7611d10543804050f29e52447499fe23802c9299
remove obsolete imports and never used variables

(see pyflakes)

Change-Id: I75eebf77e7708601dcdb88a36158d2072e274e06
remove obsolete sys import,

pep8 changes synchronized with compat

Change-Id: I74984ae0194592262296409c62a0378619fb487c
synchronize i18n.py with compat

Change-Id: Ic04a243a2f120145b572f7d3013694ce32a44495
pep8ify site.py,

remove obsolete "return None"

Change-Id: Ia3233f6647b394be16de888c548e84dadc1d1998
Partially merge branch 'python3':

family.py
Use key function instead of comparator for sorting interwikis
https://gerrit.wikimedia.org/r/#/c/90753/

api.py
Change Request from DictMixin to MutableMapping
https://gerrit.wikimedia.org/r/#/c/90752/

Change-Id: Ia0039c7989cb31fbcff59b9cc1e5fb07c505c231
Show __doc__ if pwb.py is called without arguments

Change-Id: I96ee324611fdd77ef48ce78aafa9b7466cb7723f
(Bug 56347) Enable RandomPageGenerator() and site.randompages returning more than 10 pages

API random list does not return query-continue.
We loop the query until we have our total limit exceeded.
It is on programmers side to ensure that
duplicate pages are filtered
(e.g. via DuplicateFilterPageGenerator())

Change-Id: I496e661486afebf5dc681036c73a454c1b4ff367
[BUGFIX] Format sting needs a conversion type specifier

Change-Id: I3b92685102d02d95637377b3da64a8d115e2a216
Adding option of following redirects (bug 55310)

Update from compat Ie84aa0292270f8a45c0e104a61e037b869f40850

- pep8 changes
- code improvements
- synchronize with compat

Change-Id: Ic862b8653c07e863b89de09c230de0dea31a50ee
Wikidata test client seems to be off

Change-Id: I5c81e591ae8f490023d99c609a9eb82a35a314f4
Merge "modify handleArgs, enable -cc option from compat"
Merge "Adding option of following redirects (bug 55310)"