Adam
Новая страница: «-- This module processes data from mw.site.interwikiMap for use with -- Module:Interwiki. By loading the data with mw.loadData we ensure that -- this is only done once per page parse. local prefixes, urls, hosts = {}, {}, {} local function makeCountedData(t, storeKey, counterKey, itemKey, item) t = t or {} t[storeKey] = t[storeKey] or {} t[storeKey][itemKey] = item t[counterKey] = t[counterKey] and t[counterKey] + 1 or 1 return t end for prefix,...»