This will make it easier for extensions and gadgets to determine if the current user can edit the current page.
Right now, you either have to hack it by looking for an edit tab, or try to figure it out from wgRestrictionEdit and wgUserGroups. But wgRestrictionEdit has weird things like MediaWiki pages being an empty array when logically it should be ["sysop"]), and doesn't take into account important features like cascading protections and TitleBlacklist.
I think the right way may be to use Title::userCan.
Version: 1.21.x
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=49277
https://bugzilla.wikimedia.org/show_bug.cgi?id=18797