CINXE.COM

Vidi fonton por Modulo:Wikidata - Vikipedio

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available" lang="eo" dir="ltr"> <head> <meta charset="UTF-8"> <title>Vidi fonton por Modulo:Wikidata - Vikipedio</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )eowikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat": "dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"2e944131-f183-46f7-ba04-2646b5839b76","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"Modulo:Wikidata","wgTitle":"Wikidata","wgCurRevisionId":8002515,"wgRevisionId":0,"wgArticleId":541939,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"Modulo:Wikidata","wgRelevantArticleId":541939,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["sysop"],"wgRestrictionMove":["sysop"],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgFlaggedRevsParams":{"tags":{"accuracy":{"levels":1}}},"wgStableRevisionId":8002515,"wgMediaViewerOnClick":true, "wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":30000,"wgCodeEditorCurrentLanguage":"lua","wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.niceInfoboxes":"ready","ext.globalCssJs.user.styles":"ready","site.styles": "ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.codeEditor.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.charinsert.styles":"ready","ext.flaggedRevs.basic":"ready","mediawiki.codex.messagebox.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.codeEditor","ext.scribunto.edit","mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.flaggedRevs.advanced","ext.gadget.Rekta-ligilo-al-Komunejo","ext.gadget.DocTabs","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents", "ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=eo&amp;modules=ext.charinsert.styles%7Cext.codeEditor.styles%7Cext.flaggedRevs.basic%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cmediawiki.codex.messagebox.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=eo&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=eo&amp;modules=ext.gadget.niceInfoboxes&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=eo&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Vidi fonton por Modulo:Wikidata - Vikipedio"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//eo.m.wikipedia.org/wiki/Modulo:Wikidata"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Vikipedio (eo)"> <link rel="EditURI" type="application/rsd+xml" href="//eo.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://eo.wikipedia.org/wiki/Modulo:Wikidata"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.eo"> <link rel="alternate" type="application/atom+xml" title="Vikipedio Atom-fonto" href="/w/index.php?title=Speciala%C4%B5o:Lastaj_%C5%9Dan%C4%9Doj&amp;feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="codeeditor-loading skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-828 ns-subject page-Modulo_Wikidata rootpage-Modulo_Wikidata skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">Saltu al enhavo</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Retejo"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Ĉefa menuo" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Ĉefa menuo</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Ĉefa menuo</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">movigi al flanka panelo</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">kaŝi</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigado </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-desciption" class="mw-list-item"><a href="/wiki/Vikipedio:%C4%88efpa%C4%9Do"><span>Ĉefpaĝo</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Portalo:Komunumo" title="Pri la projekto, kion vi povas fari, kie vi povas trovi ion"><span>Komunuma portalo</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Vikipedio:Diskutejo"><span>Diskutejo</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Vikipedio:Aktuala%C4%B5oj" title="Trovi fonajn informojn pri nunaj eventoj"><span>Aktualaĵoj</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Lastaj_%C5%9Dan%C4%9Doj" title="Listo de la lastaj ŝanĝoj en la vikio. [r]" accesskey="r"><span>Lastaj ŝanĝoj</span></a></li><li id="n-newpages" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Novaj_pa%C4%9Doj"><span>Novaj paĝoj</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Hazarda_pa%C4%9Do" title="Iri al hazarda paĝo [x]" accesskey="x"><span>Hazarda paĝo</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Helpo:Enhavo" title="La loko por eltrovi"><span>Helpo</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Vikipedio:%C4%88efpa%C4%9Do" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Vikipedio" src="/static/images/mobile/copyright/wikipedia-wordmark-eo.svg" style="width: 6.875em; height: 1.125em;"> <img class="mw-logo-tagline" alt="" src="/static/images/mobile/copyright/wikipedia-tagline-eo.svg" width="109" height="13" style="width: 6.8125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Speciala%C4%B5o:Ser%C4%89i" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Serĉi tra Vikipedio [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Serĉi</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Serĉi tra Vikipedio" aria-label="Serĉi tra Vikipedio" autocapitalize="sentences" title="Serĉi tra Vikipedio [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Specialaĵo:Serĉi"> </div> <button class="cdx-button cdx-search-input__end-button">Serĉi</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personaj iloj"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Aspekto"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Aspekto" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Aspekto</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_eo.wikipedia.org&amp;uselang=eo" class=""><span>Donaci</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciala%C4%B5o:Krei_konton&amp;returnto=Modulo%3AWikidata&amp;returntoquery=action%3Dedit" title="Ni rekomendas ke vi kreu uzantokonton kaj ensalutu, kvankam tio ne estas deviga" class=""><span>Krei konton</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciala%C4%B5o:Ensaluti&amp;returnto=Modulo%3AWikidata&amp;returntoquery=action%3Dedit" title="Ni rekomendas ke vi ensalutu, kvankam tio ne estas devige. [o]" accesskey="o" class=""><span>Ensaluti</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Pliaj agordoj" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personaj iloj" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personaj iloj</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menuo de uzanto" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_eo.wikipedia.org&amp;uselang=eo"><span>Donaci</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:Krei_konton&amp;returnto=Modulo%3AWikidata&amp;returntoquery=action%3Dedit" title="Ni rekomendas ke vi kreu uzantokonton kaj ensalutu, kvankam tio ne estas deviga"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Krei konton</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:Ensaluti&amp;returnto=Modulo%3AWikidata&amp;returntoquery=action%3Dedit" title="Ni rekomendas ke vi ensalutu, kvankam tio ne estas devige. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Ensaluti</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Paĝoj por elsalutitaj redaktistoj <a href="/wiki/Helpo:Enkonduko" aria-label="Lernu pli pri redaktado"><span>Lernu pli</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Miaj_kontribuoj" title="Listo de redaktoj faritaj el ĉi tiu IPa adreso [y]" accesskey="y"><span>Kontribuoj</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Mia_diskutpa%C4%9Do" title="Diskuto pri redaktoj sub tiu ĉi IP adreso [n]" accesskey="n"><span>Diskuto</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Retejo"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">Vidi fonton por Modulo:Wikidata</h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Ĉi tiu artikolo ekzistas nur en ĉi tiu lingvo. Aldonu la artikolon por aliaj lingvoj" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">Aldoni lingvojn</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Nomspacoj"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-module" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Modulo:Wikidata" title="Rigardi la modul-paĝon [c]" accesskey="c"><span>Modulo</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Modulo-Diskuto:Wikidata" rel="discussion" class="mw-redirect" title="Diskuto pri la artikolo [t]" accesskey="t"><span>Diskuto</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Ŝanĝi lingvan varianton" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Vidoj"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="vector-tab-noicon mw-list-item"><a href="/wiki/Modulo:Wikidata"><span>Legi</span></a></li><li id="ca-viewsource" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modulo:Wikidata&amp;action=edit" title="Tiu paĝo estas protektita. Vi povas nur rigardi ties fonton. [e]" accesskey="e"><span>Vidi fonton</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Modulo:Wikidata&amp;action=history" title="Antaŭaj versioj de ĉi tiu paĝo. [h]" accesskey="h"><span>Vidi historion</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Paĝaj iloj"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Iloj" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Iloj</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Iloj</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">movigi al flanka panelo</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">kaŝi</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Pliaj opcioj" > <div class="vector-menu-heading"> Agoj </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/Modulo:Wikidata"><span>Legi</span></a></li><li id="ca-more-viewsource" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modulo:Wikidata&amp;action=edit"><span>Vidi fonton</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Modulo:Wikidata&amp;action=history"><span>Vidi historion</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Ĝenerale </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Kio_ligas_%C4%89i_tien%3F/Modulo:Wikidata" title="Listo de ĉiuj vikiaj paĝoj kiuj ligas ĉi tien [j]" accesskey="j"><span>Ligiloj ĉi tien</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Rilataj_%C5%9Dan%C4%9Doj/Modulo:Wikidata" rel="nofollow" title="Lastaj ŝanĝoj en paĝoj kiuj ligas al ĉi tiu paĝo [k]" accesskey="k"><span>Rilataj ŝanĝoj</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=eo" title="Alŝuti dosierojn [u]" accesskey="u"><span>Alŝuti dosieron</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Specialaj_pa%C4%9Doj" title="Listo de ĉiuj specialaj paĝoj [q]" accesskey="q"><span>Specialaj paĝoj</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Modulo:Wikidata&amp;action=info" title="Pli da informo pri ĉi tiu paĝo"><span>Informoj pri la paĝo</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:UrlShortener&amp;url=https%3A%2F%2Feo.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DModulo%3AWikidata%26action%3Dedit"><span>Akiri mallongigitan URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:QrCode&amp;url=https%3A%2F%2Feo.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DModulo%3AWikidata%26action%3Dedit"><span>Elŝutu QR-kodon</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> En aliaj projektoj </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q12069631" title="Ligilo al konektita datuma ero [g]" accesskey="g"><span>Ero en Vikidatumoj</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Paĝaj iloj"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Aspekto"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Aspekto</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">movigi al flanka panelo</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">kaŝi</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> </div> <div id="contentSub"><div id="mw-content-subtitle">← <a href="/wiki/Modulo:Wikidata" title="Modulo:Wikidata">Modulo:Wikidata</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>Vi ne rajtas redakti ĉi tiun paĝon, pro la jenaj kialoj: </p> <ul class="permissions-errors"><li class="mw-permissionerror-protectedpagetext">Tiu ĉi paĝo estas ŝlosita por malebligi redaktadon.</li><li class="mw-permissionerror-globalblocking-blockedtext-range"><b>Your IP address is in a range that has been <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">blocked on all Wikimedia Foundation wikis</a>.</b> The block was made by <a href="/wiki/Uzanto:Jon_Kolbert" title="Uzanto:Jon Kolbert">‪Jon Kolbert‬</a>. The reason given is <i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>. <ul><li>Start of block: 15:12, 27 aŭg. 2023</li> <li>Expiry of block: 15:12, 27 aŭg. 2028</li></ul> Your current IP address is 8.222.208.146. The blocked range is 8.222.128.0/17. Bonvolu inkluzivi ĉiujn suprajn detalojn en iuj demandoj, kiujn vi sendas. If you believe you were blocked by mistake, you can find additional information and instructions in the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">No open proxies</a> global policy. Otherwise, to discuss the block please <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">post a request for review on Meta-Wiki</a>. You could also send an email to the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">stewards</a> <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a> queue at <kbd>stewards@wikimedia.org</kbd> including all above details.</li></ul><hr /> <p>Vi povas vidi kaj kopii la vikitekston de tiu ĉi paĝo: </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">------------------------------------------------------------------------------ -- module local variables and functions local wiki = { langcode = mw.language.getContentLanguage().code } -- internationalisation local i18n = { ["errors"] = { ["property-not-found"] = "Eco ne trovita.", ["entity-not-found"] = "Vikidatumoj-ero ne trovita.", ["unknown-claim-type"] = "Nekonata tipo de deklaro.", ["unknown-entity-type"] = "Nekonata tipo de ento.", ["qualifier-not-found"] = "Kvalifiko ne trovita.", ["site-not-found"] = "Vikimedia projekto ne trovita.", ["invalid-parameters"] = "Nevalidaj parametroj.", ["image-not-found"] = "Bildo ne difinita en P18 de Vikidatumoj" }, ["datetime"] = { -- $1 is a placeholder for the actual number [0] = "$1 mrd. da jaroj", -- precision: billion years [1] = "$100 mio. da jaroj", -- precision: hundred million years [2] = "$10 mio. da jaroj", -- precision: ten million years [3] = "$1 mio. da jaroj", -- precision: million years [4] = "$100 000 jaroj", -- precision: hundred thousand years [5] = "$10 000 jaroj", -- precision: ten thousand years [6] = "$1-a jarmilo", -- precision: millennium [7] = "$1-a jarcento", -- precision: century [8] = "$1-aj jaroj", -- precision: decade -- the following use the format of #time parser function [9] = "Y", -- precision: year, [10] = "F Y", -- precision: month [11] = 'j"-a de" F Y', -- precision: day [12] = 'j"-a de" F Y, G "horo"', -- precision: hour [13] = 'j"-a de" F Y G:i', -- precision: minute [14] = 'j"-a de" F Y G:i:s', -- precision: second ["beforenow"] = '$1 "a.K.E."', -- how to format negative numbers for precisions 0 to 5 ["afternow"] = '$1 "K.E."', -- how to format positive numbers for precisions 0 to 5 ["bc"] = '$1 "a.K.E."', -- how print negative years ["ad"] = "$1" -- how print positive years }, ["monolingualtext"] = '&lt;span lang="%language">%text&lt;/span>', ["FETCH_WIKIDATA"] = "PETI_VIKIDATUMOJN" } --important properties local propertyId = { ["starttime"] = "P580", ["endtime"] = "P582" } local formatchar = { [10] = {"n","m","M","F","xg"}, --precision: month [11] = {"W","j","d","z","D","l","N","w"}, --precision: day [12] = {"a","A","g","h","G","H"}, --precision: hour [13] = {"i"}, --precision: minute [14] = {"s","U"} --precision: second } local p = {} local function printError(code) return '&lt;span class="error">' .. (i18n.errors[code] or code) .. '&lt;/span>' end -- exported version of the function function p.printError(code) return printError(code) end -- the "qualifiers" and "snaks" field have a respective "qualifiers-order" and "snaks-order" field -- use these as the second parameter and this function instead of the built-in "pairs" function -- to iterate over all qualifiers and snaks in the intended order. local function orderedpairs(array, order) if not order then return pairs(array) end -- return iterator function local i = 0 return function() i = i + 1 if order[i] then return order[i], array[order[i]] end end end function p.descriptionIn(frame) local langcode = frame.args[1] local id = frame.args[2] -- return description of a Wikidata entity in the given language or the default language of this Wikipedia site local entity = mw.wikibase.getEntity(id) if entity and entity.descriptions then local desc = entity.descriptions[langcode or wiki.langcode] if desc then return desc.value end end end function p.labelIn(frame) local langcode = frame.args[1] local id = frame.args[2] -- return label of a Wikidata entity in the given language or the default language of this Wikipedia site local entity = mw.wikibase.getEntity(id) if entity and entity.labels then local label = entity.labels[langcode or wiki.langcode] if label then return label.value end end end local function printDatavalueCoordinate(data, parameter) -- data fields: latitude [double], longitude [double], altitude [double], precision [double], globe [wikidata URI, usually http://www.wikidata.org/entity/Q2 [earth]] if parameter then if parameter == "globe" then data.globe = mw.ustring.match(data.globe, "Q%d+") end -- extract entity id from the globe URI return data[parameter] else return data.latitude .. "/" .. data.longitude -- combine latitude and longitude, which can be decomposed using the #titleparts wiki function end end local function printDatavalueQuantity(data, parameter) -- data fields: amount [number], unit [string], upperBound [number], lowerBound [number] if not parameter or parameter == "amount" then return tonumber(data.amount) elseif parameter == "unit" then return mw.ustring.match(data.unit, "Q%d+") else return data[parameter] end end -- precision: 0 - billion years, 1 - hundred million years, ..., 6 - millennia, 7 - century, 8 - decade, 9 - year, 10 - month, 11 - day, 12 - hour, 13 - minute, 14 - second local function normalizeDate(date) date = mw.text.trim(date, "+") -- extract year local yearstr = mw.ustring.match(date, "^\-?%d+") local year = tonumber(yearstr) -- remove leading zeros of year return year .. mw.ustring.sub(date, #yearstr + 1), year end local function formatDate(date, precision, timezone, formatstr) precision = precision or 11 local date, year = normalizeDate(date) date = string.gsub(date, "-00%f[%D]", "-01") if year == 0 and precision &lt;= 9 then return "" end -- precision is 10000 years or more if precision &lt;= 5 then local factor = 10 ^ ((5 - precision) + 4) local y2 = math.ceil(math.abs(year) / factor) local relative = mw.ustring.gsub(i18n.datetime[precision], "$1", tostring(y2)) if year &lt; 0 then relative = mw.ustring.gsub(i18n.datetime.beforenow, "$1", relative) else relative = mw.ustring.gsub(i18n.datetime.afternow, "$1", relative) end return relative end -- precision is decades, centuries and millennia local era if precision == 6 then era = mw.ustring.gsub(i18n.datetime[6], "$1", tostring(math.floor((math.abs(year) - 1) / 1000) + 1)) end if precision == 7 then era = mw.ustring.gsub(i18n.datetime[7], "$1", tostring(math.floor((math.abs(year) - 1) / 100) + 1)) end if precision == 8 then era = mw.ustring.gsub(i18n.datetime[8], "$1", tostring(math.floor(math.abs(year) / 10) * 10)) end if era then if year &lt; 0 then era = mw.ustring.gsub(mw.ustring.gsub(i18n.datetime.bc, '"', ""), "$1", era) elseif year > 0 then era = mw.ustring.gsub(mw.ustring.gsub(i18n.datetime.ad, '"', ""), "$1", era) end return era end -- precision is year if precision == 9 then return year end -- precision is less than years if precision > 9 then --[[ the following code replaces the UTC suffix with the given negated timezone to convert the global time to the given local time timezone = tonumber(timezone) if timezone and timezone ~= 0 then timezone = -timezone timezone = string.format("%.2d%.2d", timezone / 60, timezone % 60) if timezone[1] ~= '-' then timezone = "+" .. timezone end date = mw.text.trim(date, "Z") .. " " .. timezone end ]]-- if formatstr then for i=(precision+1), 14 do for _, ch in pairs(formatchar[i]) do if formatstr:find(ch) then formatstr = i18n.datetime[precision] end end end else formatstr = i18n.datetime[precision] end if year == 0 then formatstr = mw.ustring.gsub(formatstr, i18n.datetime[9], "") elseif year &lt; 0 then -- Mediawiki formatDate doesn't support negative years date = mw.ustring.sub(date, 2) formatstr = mw.ustring.gsub(formatstr, i18n.datetime[9], mw.ustring.gsub(i18n.datetime.bc, "$1", i18n.datetime[9])) elseif year > 0 and i18n.datetime.ad ~= "$1" then formatstr = mw.ustring.gsub(formatstr, i18n.datetime[9], mw.ustring.gsub(i18n.datetime.ad, "$1", i18n.datetime[9])) end return mw.language.new(wiki.langcode):formatDate(formatstr, date) end end local function printDatavalueTime(data, parameter) -- data fields: time [ISO 8601 time], timezone [int in minutes], before [int], after [int], precision [int], calendarmodel [wikidata URI] -- precision: 0 - billion years, 1 - hundred million years, ..., 6 - millenia, 7 - century, 8 - decade, 9 - year, 10 - month, 11 - day, 12 - hour, 13 - minute, 14 - second -- calendarmodel: e.g. http://www.wikidata.org/entity/Q1985727 for the proleptic Gregorian calendar or http://www.wikidata.org/wiki/Q11184 for the Julian calendar] if parameter then para, formatstr = parameter:match("([^:]+):([^:]+)") if parameter == "calendarmodel" then data.calendarmodel = string.match(data.calendarmodel, "Q%d+") -- extract entity id from the calendar model URI elseif para and para == "time" then return formatDate(data.time, data.precision, data.timezone,formatstr) elseif parameter == "time" then data.time = normalizeDate(data.time) end return data[parameter] else return formatDate(data.time, data.precision, data.timezone) end end local function printDatavalueEntity(data, parameter) -- data fields: entity-type [string], numeric-id [int, Wikidata id] local id if data["entity-type"] == "item" then id = "Q" .. data["numeric-id"] elseif data["entity-type"] == "property" then id = "P" .. data["numeric-id"] else return printError("unknown-entity-type") end if parameter then if parameter == "link" then local linkTarget = mw.wikibase.getSitelink(id) local linkName = mw.wikibase.getLabel(id) if linkTarget then local link = linkTarget -- if there is a local Wikipedia article linking to it, use the label or the article title if linkName and (linkName ~= linkTarget) then link = link .. "|" .. linkName end return "[[" .. link .. "]]" else -- if there is no local Wikipedia article output the label or link to the Wikidata object to input a proper label if linkName then return linkName else return "[[:d:" .. id .. "|" .. id .. "]]" end end else return data[parameter] end else return mw.wikibase.label(id) or id end end local function printDatavalueMonolingualText(data, parameter) -- data fields: language [string], text [string] if parameter then return data[parameter] else local result = mw.ustring.gsub(mw.ustring.gsub(i18n.monolingualtext, "%%language", data["language"]), "%%text", data["text"]) return result end end local function getSnakValue(snak, parameter) -- snaks have three types: "novalue" for null/nil, "somevalue" for not null/not nil, or "value" for actual data if snak.snaktype == "value" then -- call the respective snak parser if snak.datavalue.type == "string" then return snak.datavalue.value elseif snak.datavalue.type == "globecoordinate" then return printDatavalueCoordinate(snak.datavalue.value, parameter) elseif snak.datavalue.type == "quantity" then return printDatavalueQuantity(snak.datavalue.value, parameter) elseif snak.datavalue.type == "time" then return printDatavalueTime(snak.datavalue.value, parameter) elseif snak.datavalue.type == "wikibase-entityid" then return printDatavalueEntity(snak.datavalue.value, parameter) elseif snak.datavalue.type == "monolingualtext" then return printDatavalueMonolingualText(snak.datavalue.value, parameter) end end return mw.wikibase.renderSnak(snak) end local function getQualifierSnak(claim, qualifierId) -- a "snak" is Wikidata terminology for a typed key/value pair -- a claim consists of a main snak holding the main information of this claim, -- as well as a list of attribute snaks and a list of references snaks if qualifierId then -- search the attribute snak with the given qualifier as key if claim.qualifiers then local qualifier = claim.qualifiers[qualifierId] if qualifier then return qualifier[1] end end return nil, printError("qualifier-not-found") else -- otherwise return the main snak return claim.mainsnak end end local function datavalueTimeToDateObject(data) local sign, year, month, day, hour, minute, second = string.match(data.time, "(.)(%d+)%-(%d+)%-(%d+)T(%d+):(%d+):(%d+)Z") local result = { year = tonumber(year), month = tonumber(month), day = tonumber(day), hour = tonumber(hour), min = tonumber(minute), sec = tonumber(second), timezone = data.timezone, julian = data.calendarmodel and string.match(data.calendarmodel, "Q11184$") } if sign == "-" then result.year = -result.year end return result end function julianDay(dateObject) local year = dateObject.year local month = dateObject.month or 0 local day = dateObject.day or 0 if month == 0 then month = 1 end if day == 0 then day = 1 end if month &lt;= 2 then year = year - 1 month = month + 12 end local time = ((((dateObject.sec or 0) / 60 + (dateObject.min or 0) + (dateObject.timezone or 0)) / 60) + (dateObject.hour or 0)) / 24 local b if dateObject.julian then b = 0 else local century = math.floor(year / 100) b = 2 - century + math.floor(century / 4) end return math.floor(365.25 * (year + 4716)) + math.floor(30.6001 * (month + 1)) + day + time + b - 1524.5 end function getQualifierSortValue(claim, qualifierId) local snak = getQualifierSnak(claim, qualifierId) if snak and snak.snaktype == "value" then if snak.datavalue.type == "time" then return julianDay(datavalueTimeToDateObject(snak.datavalue.value)) else return getSnakValue(snak) end end end local function getValueOfClaim(claim, qualifierId, parameter) local error local snak snak, error = getQualifierSnak(claim, qualifierId) if snak then return getSnakValue(snak, parameter) else return nil, error end end function formatReference(ref) -- "imported from"-references are mostly useless, skipp them if ref["P143"] then -- do nothing else local formatedRef if type(ref["P854"]) == "string" and type(ref["P1476"]) == "string" then formatedRef = "[" .. ref["P854"] .. " " .. ref["P1476"] .. "], " ref["P854"] = nil ref["P1476"] = nil end for prop, value in pairs(ref) do if type(value) == "table" then for _, subvalue in pairs(value) do if formatedRef then formatedRef = formatedRef .. ", " else formatedRef = "" end formatedRef = formatedRef .. tostring(mw.wikibase.label(prop)) .. ": " .. subvalue end else if formatedRef then formatedRef = formatedRef .. ", " else formatedRef = "" end formatedRef = formatedRef .. tostring(mw.wikibase.label(prop)) .. ": " .. value end end return formatedRef end end local function getReferences(frame, claim) local result = "" -- traverse through all references for ref in pairs(claim.references or {}) do local refTable = {} for snakkey, snakval in orderedpairs(claim.references[ref].snaks or {}, claim.references[ref]["snaks-order"]) do if #snakval == 1 then refTable[snakkey] = getSnakValue(snakval[1]) else -- multival = {} for snakidx = 1, #snakval do table.insert(multival, getSnakValue(snakval[snakidx])) end refTable[snakkey] = multival end end formatedRef = formatReference(refTable) if formatedRef then if frame.args['references'] == "raw" then if ref == 1 then result = result .. formatedRef else -- se estas pli ol unu referenco, disigaj signoj estas metataj, kiuj poste en la vokanta modulo estu iel traktataj -- tio necesas, ĉar frame:extensionTag ial ne funkcius ĉi tie! result = result .. "///" .. formatedRef end else result = result .. frame:extensionTag("ref", formatedRef) end end end return result end local function hasqualifier(claim, qualifierproperty) local invert if string.sub(qualifierproperty, 1, 1) == "!" then invert = true else invert = false end if not claim.qualifiers and not invert then return false end if not claim.qualifiers and invert then return true end if qualifierproperty == '' then return true end if not invert and not claim.qualifiers[qualifierproperty] then return false end if invert and claim.qualifiers[string.sub(qualifierproperty, 2)] then return false end return true end local function hassource(claim, sourceproperty) if not claim.references then return false end if sourceproperty == '' then return true end if string.sub(sourceproperty,1,1) ~= "!" then for _, source in pairs(claim.references) do if source.snaks[sourceproperty] then return true end end return false else for _, source in pairs(claim.references) do for key in pairs(source.snaks) do if key ~= string.sub(sourceproperty,2) then return true end end end return false end end function atdate(claim, mydate) local refdate if not mydate or mydate == "" then refdate = os.date("!*t") else if string.match(mydate, "^%d+$") then refdate = { year = tonumber(mydate) } else refdate = datavalueTimeToDateObject({ time = mw.language.getContentLanguage():formatDate("+Y-m-d\\TH:i:s\\Z", mydate) }) end end local refjd = julianDay(refdate) local mindate = getQualifierSortValue(claim, propertyId["starttime"]) local maxdate = getQualifierSortValue(claim, propertyId["endtime"]) if mindate and mindate > refjd then return false end if maxdate and maxdate &lt; refjd then return false end return true end --returns a table of claims excluding claims not passed the filters function filterClaims(frame, claims) local function filter(condition, filterfunction) if not frame.args[condition] then return end local newclaims = {} for i, claim in pairs(claims) do if filterfunction(claim, frame.args[condition]) then table.insert(newclaims, claim) end end claims = newclaims end filter('hasqualifier', hasqualifier) filter('hassource', hassource) filter('atdate', atdate) return claims end function p.claim(frame) local property = frame.args[1] or "" local id = frame.args["id"] local qualifierId = frame.args["qualifier"] local parameter = frame.args["parameter"] local language = frame.args["language"] local list = frame.args["list"] local includeempty = frame.args["includeempty"] local references = frame.args["references"] local sort = frame.args["sort"] local sortInItem = frame.args["sortInItem"] local inverse = frame.args["inverse"] local showerrors = frame.args["showerrors"] local default = frame.args["default"] if default then showerrors = nil end -- get wikidata entity local entity = mw.wikibase.getEntity(id) if not entity then if showerrors then return printError("entity-not-found") else return default end end -- fetch the first claim of satisfying the given property local claims if entity.claims then claims = entity.claims[mw.wikibase.resolvePropertyId(property)] end if not claims or not claims[1] then if showerrors then return printError("property-not-found") else return default end end --filter claims claims = filterClaims(frame, claims) if not claims[1] then return default end -- get initial sort indices local sortindices = {} for idx in pairs(claims) do sortindices[#sortindices + 1] = idx end local comparator if sort then -- sort by time qualifier comparator = function(a, b) local timea = getQualifierSortValue(claims[a], sort) or '' local timeb = getQualifierSortValue(claims[b], sort) or '' if type(timea) ~= type(timeb) and not (tonumber(timea) and tonumber(timeb)) then if tonumber(timea) then return true elseif tonumber(timeb) then return false elseif tostring(timea) and tostring(timeb) then if inverse then return tostring(timea) > tostring(timeb) else return tostring(timea) &lt; tostring(timeb) end else return false end -- different types, neither numbers nor strings, no chance to compare => random result to avoid script error elseif tonumber(timea) and tonumber(timeb) then timea = tonumber(timea) timeb = tonumber(timeb) end if inverse then return timea > timeb else return timea &lt; timeb end end elseif sortInItem then -- fill table sortkeys local sortkeys = {} local snakSingle local sortkeyValueId local claimContainingValue for idx, claim in pairs(claims) do snakSingle = getQualifierSnak(claim) sortkeyValueId = "Q" .. getSnakValue(snakSingle, "numeric-id") claimContainingValue = mw.wikibase.getEntity(sortkeyValueId).claims[mw.wikibase.resolvePropertyId(sortInItem)] if claimContainingValue then sortkeys[#sortkeys + 1] = getValueOfClaim(claimContainingValue[1]) else sortkeys[#sortkeys + 1] = "" end end comparator = function(a, b) if inverse then return sortkeys[a] > sortkeys [b] else return sortkeys[a] &lt; sortkeys [b] end end else -- sort by claim rank comparator = function(a, b) local rankmap = { deprecated = 2, normal = 1, preferred = 0 } local ranka = rankmap[claims[a].rank or "normal"] .. string.format("%08d", a) local rankb = rankmap[claims[b].rank or "normal"] .. string.format("%08d", b) return ranka &lt; rankb end end table.sort(sortindices, comparator) local result local error if list then list = string.gsub(list, "\\n", "\n") -- if a newline is provided (whose backslash will be escaped) unescape it local value -- iterate over all elements and return their value (if existing) result = {} for idx in pairs(claims) do local claim = claims[sortindices[idx]] value, error = getValueOfClaim(claim, qualifierId, parameter) if not value and value ~= 0 and showerrors then value = error end if not value and value ~= 0 and includeempty then value = "" end if value and references then value = value .. getReferences(frame, claim) end result[#result + 1] = value end result = table.concat(result, list) else -- return first element local claim = claims[sortindices[1]] if language and claim.mainsnak.datatype == "monolingualtext" then -- iterate over claims to find adequate language for idx, claim in pairs(claims) do if claim.mainsnak.datavalue.value.language == language then result, error = getValueOfClaim(claim, qualifierId, parameter) break end end else result, error = getValueOfClaim(claim, qualifierId, parameter) end if result and references == "raw" then local ref = getReferences(frame, claim) return result, ref end if result and references then result = result .. getReferences(frame, claim) end end if result then return result else if showerrors then return error else return default end end end function p.getValue(frame) local param = frame.args[2] if param == "FETCH_WIKIDATA" or param == i18n["FETCH_WIKIDATA"] then return p.claim(frame) else return param end end -- for use in templates only function p.pageId(frame) local id = frame.args[1] return p._pageId(id) end -- for use in modules only function p._pageId(id) local entity = mw.wikibase.getEntity(id) if not entity then return nil else return entity.id end end function p.labelOf(frame) local id = frame.args[1] -- returns the label of the given entity/property id -- if no id is given, the one from the entity associated with the calling Wikipedia article is used if not id then local entity = mw.wikibase.getEntity() if not entity then return printError("entity-not-found") end id = entity.id end return mw.wikibase.label(id) end function p.sitelinkOf(frame) local id = frame.args[1] -- returns the Wikipedia article name of the given entity -- if no id is given, the one from the entity associated with the calling Wikipedia article is used if not id then local entity = mw.wikibase.getEntity() if not entity then return printError("entity-not-found") end id = entity.id end return mw.wikibase.sitelink(id) end function p.badges(frame) local site = frame.args[1] local id = frame.args[2] if not site then return printError("site-not-found") end local entity = mw.wikibase.getEntity(id) if not entity then return printError("entity-not-found") end local badges = entity.sitelinks[site].badges if badges then local result for idx = 1, #badges do if result then result = result .. "/" .. badges[idx] else result = badges[idx] end end return result end end function p.sitelinkCount(frame) local filter = "^.*" .. (frame.args[1] or "") .. "$" local id = frame.args[2] local entity = mw.wikibase.getEntity(id) local count = 0 if entity and entity.sitelinks then for project, _ in pairs(entity.sitelinks) do if string.find(project, filter) then count = count + 1 end end end return count end -- call this in cases of script errors within a function instead of {{#invoke:Wikidata|&lt;method>|...}} call {{#invoke:Wikidata|debug|&lt;method>|...}} function p.debug(frame) local func = frame.args[1] if func then -- create new parameter set, where the first parameter with the function name is removed local newargs = {} for key, val in pairs(frame.args) do if type(key) == "number" then if key > 1 then newargs[key - 1] = val end else newargs[key] = val end end frame.args = newargs local status, result = pcall(p[func], frame) if status then return result else return '&lt;span class="error">' .. result .. '&lt;/span>' end else return printError("invalid-parameters") end end function p.printEntity(frame) local id = frame.args[1] local entity = mw.wikibase.getEntity(id) if entity then return "&lt;pre>" .. mw.text.jsonEncode(entity, mw.text.JSON_PRETTY) .. "&lt;/pre>" end end return p </textarea><div id="mw-scribunto-console"></div><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>Ŝablonoj uzitaj sur ĉi tiu paĝo: </p></div><ul> <li><a href="/wiki/Vikipedio:Lua/Modula_navigado" title="Vikipedio:Lua/Modula navigado">Vikipedio:Lua/Modula navigado</a> (<a href="/w/index.php?title=Vikipedio:Lua/Modula_navigado&amp;action=edit" title="Vikipedio:Lua/Modula navigado">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:!)" title="Ŝablono:!)">Ŝablono:!)</a> (<a href="/w/index.php?title=%C5%9Cablono:!)&amp;action=edit" title="Ŝablono:!)">vidi fontkodon</a>) (protektita)</li><li><a href="/wiki/%C5%9Cablono:(!" title="Ŝablono:(!">Ŝablono:(!</a> (<a href="/w/index.php?title=%C5%9Cablono:(!&amp;action=edit" title="Ŝablono:(!">vidi fontkodon</a>) (protektita)</li><li><a href="/wiki/%C5%9Cablono:ArtikolaMesa%C4%9Dokesto" title="Ŝablono:ArtikolaMesaĝokesto">Ŝablono:ArtikolaMesaĝokesto</a> (<a href="/w/index.php?title=%C5%9Cablono:ArtikolaMesa%C4%9Dokesto&amp;action=edit" title="Ŝablono:ArtikolaMesaĝokesto">vidi fontkodon</a>) (protektita)</li><li><a href="/wiki/%C5%9Cablono:Dok/fino/modulo" title="Ŝablono:Dok/fino/modulo">Ŝablono:Dok/fino/modulo</a> (<a href="/w/index.php?title=%C5%9Cablono:Dok/fino/modulo&amp;action=edit" title="Ŝablono:Dok/fino/modulo">vidi fontkodon</a>) (protektita)</li><li><a href="/wiki/%C5%9Cablono:Dok/komenco" title="Ŝablono:Dok/komenco">Ŝablono:Dok/komenco</a> (<a href="/w/index.php?title=%C5%9Cablono:Dok/komenco&amp;action=edit" title="Ŝablono:Dok/komenco">vidi fontkodon</a>) (protektita)</li><li><a href="/wiki/%C5%9Cablono:Enhavtabelo_dekstre" title="Ŝablono:Enhavtabelo dekstre">Ŝablono:Enhavtabelo dekstre</a> (<a href="/w/index.php?title=%C5%9Cablono:Enhavtabelo_dekstre&amp;action=edit" title="Ŝablono:Enhavtabelo dekstre">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:Individuaj_formatoj" title="Ŝablono:Individuaj formatoj">Ŝablono:Individuaj formatoj</a> (<a href="/w/index.php?title=%C5%9Cablono:Individuaj_formatoj&amp;action=edit" title="Ŝablono:Individuaj formatoj">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:LuaModuleDoc" title="Ŝablono:LuaModuleDoc">Ŝablono:LuaModuleDoc</a> (<a href="/w/index.php?title=%C5%9Cablono:LuaModuleDoc&amp;action=edit" title="Ŝablono:LuaModuleDoc">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:Modula_statuso" title="Ŝablono:Modula statuso">Ŝablono:Modula statuso</a> (<a href="/w/index.php?title=%C5%9Cablono:Modula_statuso&amp;action=edit" title="Ŝablono:Modula statuso">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:PlenaLigilo" title="Ŝablono:PlenaLigilo">Ŝablono:PlenaLigilo</a> (<a href="/w/index.php?title=%C5%9Cablono:PlenaLigilo&amp;action=edit" title="Ŝablono:PlenaLigilo">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:Pp-modulo" title="Ŝablono:Pp-modulo">Ŝablono:Pp-modulo</a> (<a href="/w/index.php?title=%C5%9Cablono:Pp-modulo&amp;action=edit" title="Ŝablono:Pp-modulo">vidi fontkodon</a>) (protektita)</li><li><a href="/wiki/%C5%9Cablono:TOC-dekstre" class="mw-redirect" title="Ŝablono:TOC-dekstre">Ŝablono:TOC-dekstre</a> (<a href="/w/index.php?title=%C5%9Cablono:TOC-dekstre&amp;action=edit" class="mw-redirect" title="Ŝablono:TOC-dekstre">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:Tlinks" title="Ŝablono:Tlinks">Ŝablono:Tlinks</a> (<a href="/w/index.php?title=%C5%9Cablono:Tlinks&amp;action=edit" title="Ŝablono:Tlinks">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:Uzado" title="Ŝablono:Uzado">Ŝablono:Uzado</a> (<a href="/w/index.php?title=%C5%9Cablono:Uzado&amp;action=edit" title="Ŝablono:Uzado">redakti</a>) </li><li><a href="/wiki/%C5%9Cablono:%C4%88u_modulo" title="Ŝablono:Ĉu modulo">Ŝablono:Ĉu modulo</a> (<a href="/w/index.php?title=%C5%9Cablono:%C4%88u_modulo&amp;action=edit" title="Ŝablono:Ĉu modulo">vidi fontkodon</a>) (protektita)</li><li><a href="/wiki/Modulo:Wikidata/dokumentado" title="Modulo:Wikidata/dokumentado">Modulo:Wikidata/dokumentado</a> (<a href="/w/index.php?title=Modulo:Wikidata/dokumentado&amp;action=edit" title="Modulo:Wikidata/dokumentado">redakti</a>) </li><li><a href="/wiki/Modulo:%C5%9Cablono:LuaModuleDoc" title="Modulo:Ŝablono:LuaModuleDoc">Modulo:Ŝablono:LuaModuleDoc</a> (<a href="/w/index.php?title=Modulo:%C5%9Cablono:LuaModuleDoc&amp;action=edit" title="Modulo:Ŝablono:LuaModuleDoc">vidi fontkodon</a>) (duon-protektita)</li></ul></div><p id="mw-returnto">Reiri al <a href="/wiki/Modulo:Wikidata" title="Modulo:Wikidata">Modulo:Wikidata</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Elŝutita el "<a dir="ltr" href="https://eo.wikipedia.org/wiki/Modulo:Wikidata">https://eo.wikipedia.org/wiki/Modulo:Wikidata</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Regularo pri respekto de la privateco</a></li> <li id="footer-places-about"><a href="/wiki/Vikipedio:Enkonduko">Pri Vikipedio</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Vikipedio:Malgarantio">Malgarantioj</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Programistoj</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/eo.wikipedia.org">Statistikoj</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Deklaro pri kuketoj</a></li> <li id="footer-places-mobileview"><a href="//eo.m.wikipedia.org/w/index.php?title=Modulo:Wikidata&amp;action=edit&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Poŝtelefona vido</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-7l5xc","wgBackendResponseTime":189,"wgPageParseReport":{"limitreport":{"cputime":"0.004","walltime":"0.006","ppvisitednodes":{"value":18,"limit":1000000},"postexpandincludesize":{"value":715,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":2,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 0.000 1 -total"]},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-7l5xc","timestamp":"20241124102607","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10