mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 10:59:42 +00:00
e85b2c6996
Bug: T325094 Change-Id: I3a14d255546c12655dc4492194a07b0d205f0534
16 lines
313 B
PHP
16 lines
313 B
PHP
<?php
|
|
|
|
use MediaWiki\Extension\Thanks\ThanksQueryHelper;
|
|
use MediaWiki\MediaWikiServices;
|
|
|
|
return [
|
|
'ThanksQueryHelper' => static function (
|
|
MediaWikiServices $services
|
|
): ThanksQueryHelper {
|
|
return new ThanksQueryHelper(
|
|
$services->getTitleFactory(),
|
|
$services->getDBLoadBalancer()
|
|
);
|
|
},
|
|
];
|