Thread:Project:Support desk/wgArticle/reply (6)

wgArticle doesn't have a method getId, if there was still Article object in it. For the page id you can use WikiPage::getId.