Creating new pages.

If page does not exist, there won't be any revisions to get a timestamp from. Only grab/use basetimestamp if there are revisions; if there aren't any, then tell mediawiki to only create a page, not edit an existing one (you're going to the trouble with timestamps, so why not?)