X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiParse.php;h=3a604715bcb0f3e912b3f6f6ca6e4986537c6b98;hb=a9033efb28ca6e0e2e4ccb7bf9e9103b8d474b26;hp=096122d186a52339e00fc89bbf9186f7ee1b5160;hpb=1c52863fc0c697a7a6216dfe44ca0dd83b6a3408;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 096122d186..3a604715bc 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -697,7 +697,7 @@ class ApiParse extends ApiBase { $hiddencats[$row->page_title] = isset( $row->pp_propname ); } - $linkCache = LinkCache::singleton(); + $linkCache = MediaWikiServices::getInstance()->getLinkCache(); foreach ( $links as $link => $sortkey ) { $entry = [];