Cleaned up some Article comments.
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 31 May 2013 20:44:16 +0000 (13:44 -0700)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 1 Jun 2013 07:01:22 +0000 (07:01 +0000)
Change-Id: Iad1a56179345044aff8c144b8b72cdaaffa778c4

includes/Article.php

index 4972d2b..f0eb568 100644 (file)
@@ -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 ) ) {