X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdeferred%2FLinksUpdate.php;h=9d3309bad588917e681d52da209639b17a48c64f;hb=6497541c9c089966ce7d3b0e0abd6b68192d30d8;hp=14f86b7c5e57eb938b052318853e32b049d3718d;hpb=58d70885d875a3928d96a2ca0a74dbc0ec5bb8bb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/deferred/LinksUpdate.php b/includes/deferred/LinksUpdate.php index 14f86b7c5e..9d3309bad5 100644 --- 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 ); - $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