From c9d5443d1ca59de1fd6e774acdcc97106807a508 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 31 May 2013 13:44:16 -0700 Subject: [PATCH] Cleaned up some Article comments. Change-Id: Iad1a56179345044aff8c144b8b72cdaaffa778c4 --- includes/Article.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ) ) { -- 2.20.1