User:Leucosticte/Attempt

I had attempted to comment:
 * You're talking about WikiPage::factory ( $page )? This means that instead of an ImagePage or Article, the object will be a WikiFilePage, WikiCategoryPage or WikiPage. How then would you recommend that line 339 be revised to make the deletion work, since WikiPage::doDeleteArticleReal is a backend function that doesn't provide output to the user? (I was going to use Article::newFromWikiPage but needed the IContextSource.)


 * Would it be okay to just replace lines 330-334 with $art = Article::newFromID ( $page->getArticleID );}}