https://bugzilla.wikimedia.org/show_bug.cgi?id=49277
--- Comment #1 from Matthew Flaschen <[email protected]> --- It's just: $vars['wgIsPageEditable'] = $user->isAllowed( 'edit' ) && $title->getNamespace() == NS_MAIN It doesn't take protection into account at all, let alone other things (like cascading protection). At the very least, it should use quickUserCan. See bug 43790 and https://gerrit.wikimedia.org/r/#/c/65009/ for discussion of adding a proper version of this to core. It also excludes non-mainspace, but I assume that's intentional (really not "is it editable?", though, but "is mobile ready to edit it?"). -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
