The pip-provided wikipedia package for python 2.7, wikipedia version 1.4.0, is afflicted with this issue:
goldsmith/Wikipedia#177
Manually patching wikipedia.py with the included commit fixes this problem. Probably/hopefully this will go away when pypi is updated past 1.4.0 for this package.