statsd: Rename MediawikiStatsdDataFactory to IBufferingStatsdDataFactory
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 8 Jul 2017 00:19:39 +0000 (17:19 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 8 Jul 2017 00:22:50 +0000 (17:22 -0700)
commit01938ae7db2a5911c6e88b515acf259377a5b54c
tree1eea12e4601a1e0dd09e20e86510ab1fd6eeae72
parent8a16f5791fc975c1f57a518ecdfb9e20c863df12
statsd: Rename MediawikiStatsdDataFactory to IBufferingStatsdDataFactory

Follows-up I2874175647e (7fdc3d09a3b).

* Avoid "MediaWiki" in class names. If unavoidable, always camelcase.
* Use a more descriptive name, matching the implementing the class ("Buffering").
* Use "I" prefix for consistency with other MediaWiki-provided interfaces.
  (Avoid "Interface" suffix, which is foreign to MediaWiki and is only used
  in the StatsdClient namespace, which this interface is not in).

Bug: T166354
Change-Id: I06de59122625f9c23e7c1a1bfa69a7ddabbf379e
autoload.php
includes/MediaWikiServices.php
includes/context/ContextSource.php
includes/context/DerivativeContext.php
includes/context/IContextSource.php
includes/context/RequestContext.php
includes/libs/stats/BufferingStatsdDataFactory.php
includes/libs/stats/IBufferingStatsdDataFactory.php [new file with mode: 0644]
includes/libs/stats/MediawikiStatsdDataFactory.php [deleted file]
includes/libs/stats/NullStatsdDataFactory.php
tests/phpunit/includes/MediaWikiServicesTest.php