ServiceWiring: Rename LogStore to ThanksLogStore

`LogStore` is too ambiguous, usually services from extension should
be prefixed with its name.

Change-Id: Ia8a8474ac44ee9990b22ca4650d3ae5311744d19
This commit is contained in:
Func 2023-05-26 21:02:42 +08:00
parent 3cef1d4978
commit b96b4e1fde
4 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ return [
$services->getDBLoadBalancer()
);
},
'LogStore' => static function ( MediaWikiServices $services ): LogStore {
'ThanksLogStore' => static function ( MediaWikiServices $services ): LogStore {
return new LogStore(
$services->getDBLoadBalancerFactory(),
$services->getActorNormalization(),

View file

@ -50,7 +50,7 @@
"PermissionManager",
"RevisionStore",
"UserFactory",
"LogStore"
"ThanksLogStore"
]
}
},

View file

@ -410,7 +410,7 @@ class Hooks {
"class" => ApiFlowThank::class,
"services" => [
"PermissionManager",
"LogStore"
"ThanksLogStore"
]
]
);

View file

@ -22,7 +22,7 @@ class ApiCoreThankUnitTest extends ApiTestCase {
$services->getPermissionManager(),
$services->getRevisionStore(),
$services->getUserFactory(),
$services->getService( 'LogStore' )
$services->getService( 'ThanksLogStore' )
);
}