WikiFunctions.Parse.MetaDataSorter.LoadInterWikiFromCache C# (CSharp) Method

LoadInterWikiFromCache() private method

Loads interwikis from local disk cache if available
private LoadInterWikiFromCache ( ) : bool
return bool
        private bool LoadInterWikiFromCache()
        {
            if (!Globals.UnitTestMode)
            {
                InterwikiLocalAlpha = Load("InterwikiLocalAlpha");
                InterwikiLocalFirst = Load("InterwikiLocalFirst");
                InterwikiAlpha = Load("InterwikiAlpha");
                InterwikiAlphaEnFirst = Load("InterwikiAlphaEnFirst");

                return Loaded;
            }
            List<string> one = new List<string> { "ar", "de", "en", "ru", "sq" };
            List<string> two = new List<string> { "en", "ar", "de", "ru", "sq" };

            InterwikiLocalAlpha = one;
            InterwikiLocalFirst = one;
            InterwikiAlpha = one;
            InterwikiAlphaEnFirst = two;

            return true;
        }