Minor fixes with id's and NoPage errors


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