From e0b6c735a8246a88d99d37d138a54cb1fe05597e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 2 Sep 2016 11:15:02 -0700 Subject: [PATCH] Don't mention $wgUser, it's ugly and it messes my grep-fu Change-Id: Ic2b181a9f22f172aa8845a2e13bafa6142469ec4 --- includes/api/ApiExpandTemplates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiExpandTemplates.php b/includes/api/ApiExpandTemplates.php index 48e7698147..10fb1824be 100644 --- a/includes/api/ApiExpandTemplates.php +++ b/includes/api/ApiExpandTemplates.php @@ -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 -- 2.20.1