Rename ApiRequest to ApiAction
authorBryan Davis <bd808@wikimedia.org>
Thu, 17 Mar 2016 22:43:50 +0000 (16:43 -0600)
committerBryan Davis <bd808@wikimedia.org>
Thu, 17 Mar 2016 22:43:50 +0000 (16:43 -0600)
Half of the work needed for handling this logging stream was done using
the channel name "ApiRequest" and the other half was done under the name
"ApiAction". The ApiRequest naming is easier to change at this point.

Bug: T108618
Change-Id: I5797731abeba22ef6ced7c8407ee670344d35b3d

includes/api/ApiMain.php

index 074cca5..df3f516 100644 (file)
@@ -1401,8 +1401,8 @@ class ApiMain extends ApiBase {
                }
 
                wfDebugLog( 'api', $msg, 'private' );
-               // ApiRequest channel is for structured data consumers
-               wfDebugLog( 'ApiRequest', '', 'private', $logCtx );
+               // ApiAction channel is for structured data consumers
+               wfDebugLog( 'ApiAction', '', 'private', $logCtx );
        }
 
        /**