In an extension function, i want to check whether the current page is new or already existing. which function i can call to get that info?
Parser::getArticleID(), or something like that. A new page will have an ID of 0, existing pages will have positive IDs. (I think.)