wiki.py: move duplicate code into new _query method
Greatly simplify _Article class
Simplify _Article by testing for nonexistent page only once
Simplify _Article by merging several methods