From: Aaron Schulz Date: Fri, 31 May 2013 20:44:16 +0000 (-0700) Subject: Cleaned up some Article comments. X-Git-Tag: 1.31.0-rc.0~19524 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/fiche.php?a=commitdiff_plain;h=c9d5443d1ca59de1fd6e774acdcc97106807a508;p=lhc%2Fweb%2Fwiklou.git Cleaned up some Article comments. Change-Id: Iad1a56179345044aff8c144b8b72cdaaffa778c4 --- diff --git a/includes/Article.php b/includes/Article.php index 4972d2bd8c..f0eb568ada 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1061,9 +1061,9 @@ class Article implements Page { $user = $this->getContext()->getUser(); $cache = wfGetMainCache(); - // Conditions to potentially patrol the current revision - // patrolPage is set in case we want to patrol the first - // revision and not the current one (set in Special:NewPages) + // Normally this makes a link to patrol the revision being viewed. + // Sometimes, the 'patrolpage' flag is set in case we want to patrol the first + // revision and not the one being viewed by the user (set in Special:NewPages). $useRCPatrol = $wgUseRCPatrol && !$request->getBool( 'patrolpage' ); if ( !$this->getTitle()->quickUserCan( 'patrol', $user ) || ( !$wgUseNPPatrol && !$wgUseRCPatrol ) ) {