User "Aaron Schulz" posted a comment on MediaWiki.r101793. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/101793#c25381 Commit summary:
* Use WikiPage instead of Article and call doDeleteArticle() with a custom error message instead of calling doDelete() * Call Title::getUserPermissionsErrors() instead of User::isAllowed() to know whether the user can delete the page Comment: We really need a noPermissionErrors() wrapper function ;) _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
