Don't mention $wgUser, it's ugly and it messes my grep-fu
authorChad Horohoe <chadh@wikimedia.org>
Fri, 2 Sep 2016 18:15:02 +0000 (11:15 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Fri, 2 Sep 2016 18:15:28 +0000 (11:15 -0700)
Change-Id: Ic2b181a9f22f172aa8845a2e13bafa6142469ec4

includes/api/ApiExpandTemplates.php

index 48e7698..10fb182 100644 (file)
@@ -34,7 +34,7 @@
 class ApiExpandTemplates extends ApiBase {
 
        public function execute() {
-               // Cache may vary on $wgUser because ParserOptions gets data from it
+               // Cache may vary on the user because ParserOptions gets data from it
                $this->getMain()->setCacheMode( 'anon-public-user-private' );
 
                // Get parameters