User "Aaron Schulz" changed the status of MediaWiki.r102192. Old Status: new New Status: ok
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/102192 Commit summary: * Only show "view" tabs when the user hasn't the permission to read the page and put the whole stuff in a $userCanRead check instead of doing that for each check * Factorise duplicate code (for the "protect" tab generation) * Use Title::quickUserCan() check for delete and protect actions instead of User::isAllowed() * Pass the User object to Title::quickUserCan() _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
