X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsite%2FFileBasedSiteLookup.php;h=174d66765117d7e08aa5b73f664529587d2f2c73;hb=f704207ba129198e21ada72c2961e5bd26ac3227;hp=965444038f8ddbaa6225abc1cd3348cbfb402af8;hpb=bef9303bf6fd0cd5a33f58f28bd3bb4f27226f7e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/FileBasedSiteLookup.php b/includes/site/FileBasedSiteLookup.php index 965444038f..174d667651 100644 --- a/includes/site/FileBasedSiteLookup.php +++ b/includes/site/FileBasedSiteLookup.php @@ -17,18 +17,14 @@ * * @file * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later */ /** - * Provides a file-based cache of a SiteStore. The sites are stored in - * a json file. (see docs/sitescache.txt regarding format) - * - * The cache can be built with the rebuildSitesCache.php maintenance script, - * and a MediaWiki instance can be setup to use this by setting the - * 'wgSitesCacheFile' configuration to the cache file location. + * Provides a file-based cache of a SiteStore, using a json file. * * @since 1.25 + * @deprecated since 1.33 Use CachingSiteStore instead. */ class FileBasedSiteLookup implements SiteLookup { @@ -46,6 +42,7 @@ class FileBasedSiteLookup implements SiteLookup { * @param string $cacheFile */ public function __construct( $cacheFile ) { + wfDeprecated( __CLASS__, '1.33' ); $this->cacheFile = $cacheFile; }