From: Brad Jorsch Date: Fri, 3 Oct 2014 18:06:43 +0000 (-0400) Subject: API: Log usage of action=tokens X-Git-Tag: 1.31.0-rc.0~13699^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=85f7b9085b4da9af90ce74cc9dc77dbb05bc27fb;p=lhc%2Fweb%2Fwiklou.git API: Log usage of action=tokens Change-Id: I5fb7d4e3c7924e61747b652a5cbc3ce0a7ccef01 --- diff --git a/includes/api/ApiTokens.php b/includes/api/ApiTokens.php index 9287fe6e7f..164594efe4 100644 --- a/includes/api/ApiTokens.php +++ b/includes/api/ApiTokens.php @@ -34,6 +34,7 @@ class ApiTokens extends ApiBase { $this->setWarning( "action=tokens has been deprecated. Please use action=query&meta=tokens instead." ); + $this->logFeatureUsage( "action=tokens" ); $params = $this->extractRequestParams(); $res = array();