3 Normalizes a page title to the database format. E.g. spaces are converted
4 to underscores and the first character in the title is converted to
13 >>> from mw.lib import title
15 >>> title.normalize("foo bar")
23 return (title[0].upper() + title[1:]).replace(" ", "_")