Результаты поиска

Просмотреть (предыдущие 20 | ) (20 | 50 | 100 | 250 | 500)
  • local entity = nil; local id = frame.args['id']; if testObject then entity = mw.wikibase.getEntity(id); else entity = mw.wikibase...
    3 КБ (373 слова) - 23:05, 9 мая 2023
  • [[mw:Extension:WikibaseClient/Lua#Entity table and data structure]] local function try() local i, e = 1, mw.wikibase.getEntity(); while frame.args[i]...
    7 КБ (860 слов) - 22:41, 9 мая 2023
  • Модуль:WD (раздел «dump_entity()»)
    tostring(frame.args[2]); local entity = mw.wikibase.getEntity(s_qid); local s_sitelink = s.get_multilingual_sitelink(entity, s_suffix, {"P1412","P103"});...
    27 КБ (3102 слова) - 23:01, 9 мая 2023
  • DistrictQ = mw.wikibase.getEntityIdForTitle(mRedirect.luaMain(DistrictName, bracket)) local District = mw.wikibase.getEntity(DistrictQ) local GorodMO={}...
    24 КБ (2515 слов) - 09:48, 12 июня 2023
  • local fooEntity = mw.wikibase.getEntity( entityId ); if fooEntity and fooEntity.claims and fooEntity.claims.P425 then fooEntity = WDS.filterByRank(...
    5 КБ (569 слов) - 17:38, 10 июля 2023
  • p.getValue = function(frame) local pageId = frame.args[1] local propertyId = frame.args[2] local entity = {} entity = mw.wikibase.getEntity(pageId)...
    399 байт (56 слов) - 23:04, 9 мая 2023
  • sourcePropertyEntity = getEntity( context, sourcePropertyId ); if ( sourcePropertyEntity ) then for _, sourcePropertyClaim in ipairs( getBestStatements(...
    27 КБ (3173 слова) - 08:22, 9 мая 2023
  • function getAllMedals(frame) local entity = mw.wikibase.getEntity() local valuePref = entity:formatPropertyValues('P884', { mw.wikibase.entity.claimRanks...
    2 КБ (321 слово) - 22:42, 9 мая 2023
  • if args[1] == nil then CallSite = mw.wikibase.getEntity() else CallSite = mw.wikibase.getEntity(string.match( args[1], "Q%d+")) end if (CallSite...
    3 КБ (353 слова) - 07:32, 5 марта 2024
  • local from = frame:getParent().args.from local entity = mw.wikibase.getEntity(from) if entity == nil then return "" end if entity['claims']['P407']...
    3 КБ (514 слов) - 15:05, 25 февраля 2024
  • ]] return { ["Значение Q"] = function() local entity=mw.wikibase.getEntity() return (entity and entity.id) or "" end --[[ __END__ ]] }...
    237 байт (21 слово) - 22:42, 9 мая 2023
  • local entity = mw.wikibase.getEntity ( qid ); if entity then return '[[' .. entity:getSitelink( ) .. ']]' -- return '[[' .. mw.wikibase.getSitelink(...
    247 байт (30 слов) - 10:00, 9 ноября 2021
  • function getFlag( context, countryEntityId, actualDate ) local countryEntity = mw.wikibase.getEntity( countryEntityId ); if ( not countryEntity or not...
    16 КБ (1836 слов) - 16:55, 4 декабря 2016
  • function p.fetch(entity, source) local defaultLangObj = mw.getContentLanguage() local defaultLangCode = defaultLangObj:getCode() local f = backend...
    3 КБ (248 слов) - 13:06, 13 января 2024
  • entity = mw.wikibase.getEntity(from) if entity == nil then return "" end local st = '' local from = getNumber(entity, 'P2899') local to = getNumber(entity...
    601 байт (95 слов) - 15:38, 11 марта 2024
  • entity = mw.wikibase.getEntity(from) if entity == nil then return "" end local st = '' local from = getNumber(entity, 'P1872') local to = getNumber(entity...
    582 байт (92 слова) - 15:32, 11 марта 2024
  • local function try() if lang then return mw.wikibase.getEntity(id).sitelinks[lang..'wiki'].title else-- список интервик ...
    1 КБ (186 слов) - 22:45, 9 мая 2023
  • p.getImageFromEntity( entityOrId, actualDate ) local entity = entityOrId if type( entityOrId ) == "string" then entity = mw.wikibase.getEntity( entityOrId...
    10 КБ (1088 слов) - 11:22, 10 мая 2022
  • statement.mainsnak.datavalue.value['numeric-id'] ) then local entity = mw.wikibase.getEntity( 'Q' .. statement.mainsnak.datavalue.value['numeric-id'] );...
    13 КБ (1428 слов) - 17:30, 13 декабря 2016
  • getPropertyValue(itemID, propertyID) local entity = mw.wikibase.getEntity(itemID) local claims if entity and entity.claims then claims = entity.claims[propertyID]...
    2 КБ (204 слова) - 23:51, 27 апреля 2020
Просмотреть (предыдущие 20 | ) (20 | 50 | 100 | 250 | 500)