dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve ApiLogin test coverage
[lhc/web/wiklou.git]
/
includes
/
cache
/
LinkBatch.php
diff --git
a/includes/cache/LinkBatch.php
b/includes/cache/LinkBatch.php
index
86dd338
..
7a0826e
100644
(file)
--- a/
includes/cache/LinkBatch.php
+++ b/
includes/cache/LinkBatch.php
@@
-224,12
+224,13
@@
class LinkBatch {
if ( $this->isEmpty() ) {
return false;
}
if ( $this->isEmpty() ) {
return false;
}
+ $services = MediaWikiServices::getInstance();
- if ( !
MediaWikiServices::getInstance()
->getContentLanguage()->needsGenderDistinction() ) {
+ if ( !
$services
->getContentLanguage()->needsGenderDistinction() ) {
return false;
}
return false;
}
- $genderCache =
MediaWikiServices::getInstance()
->getGenderCache();
+ $genderCache =
$services
->getGenderCache();
$genderCache->doLinkBatch( $this->data, $this->caller );
return true;
$genderCache->doLinkBatch( $this->data, $this->caller );
return true;