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
Merge "Fix order of @var parameter in PHP"
[lhc/web/wiklou.git]
/
includes
/
deferred
/
LinksUpdate.php
diff --git
a/includes/deferred/LinksUpdate.php
b/includes/deferred/LinksUpdate.php
index
14f86b7
..
9d3309b
100644
(file)
--- a/
includes/deferred/LinksUpdate.php
+++ b/
includes/deferred/LinksUpdate.php
@@
-615,7
+615,8
@@
class LinksUpdate extends DataUpdate implements EnqueueableDataUpdate {
$nt = Title::makeTitleSafe( NS_CATEGORY, $name );
$contLang->findVariantLink( $name, $nt, true );
$nt = Title::makeTitleSafe( NS_CATEGORY, $name );
$contLang->findVariantLink( $name, $nt, true );
- $type = MWNamespace::getCategoryLinkType( $this->mTitle->getNamespace() );
+ $type = MediaWikiServices::getInstance()->getNamespaceInfo()->
+ getCategoryLinkType( $this->mTitle->getNamespace() );
# Treat custom sortkeys as a prefix, so that if multiple
# things are forced to sort as '*' or something, they'll
# Treat custom sortkeys as a prefix, so that if multiple
# things are forced to sort as '*' or something, they'll