├── .babelrc ├── .eslintrc.json ├── .github └── FUNDING.yml ├── .gitignore ├── .travis.yml ├── CNAME ├── LICENSE ├── README.md ├── _config.yml ├── examples └── index.html ├── karma.config.js ├── package.json ├── prettier.config.js ├── recordings ├── wd-entity_1440830438 │ ├── data-loader-batching-requests_4052607242 │ │ └── should-batch-all-request-in-the-first-round_2903656886 │ │ │ └── recording.har │ ├── wd-entity-accept-description-_2151284232 │ │ └── use-en-lang_898868653 │ │ │ └── recording.har │ ├── wd-entity-label-display_1498090694 │ │ ├── can-display-label-for-property_1982447875 │ │ │ └── recording.har │ │ ├── use-en-lang_898868653 │ │ │ └── recording.har │ │ └── use-zh-hans_2404109521 │ │ │ └── recording.har │ ├── wd-entity-property-display_1314033429 │ │ ├── should-render-external-id-property_2969540019 │ │ │ └── recording.har │ │ └── should-render-the-label-of-the-reference-for-the-property_749204799 │ │ │ └── recording.har │ ├── wd-entity-render-description-_3135370428 │ │ ├── can-render-when-have-a-description-attribute-and-en_2165947504 │ │ │ └── recording.har │ │ ├── can-render-when-have-a-description-attribute-and-japanese-lang_3569038540 │ │ │ └── recording.har │ │ ├── can-render-when-have-a-description-attribute-and-zh-lang_602330399 │ │ │ └── recording.har │ │ └── can-render-when-have-a-description-attribute_2279922364 │ │ │ └── recording.har │ ├── wd-item-label-display_1413205042 │ │ ├── use-en-lang_898868653 │ │ │ └── recording.har │ │ └── use-zh-hans_2404109521 │ │ │ └── recording.har │ └── wd-item-property-display_1767356953 │ │ └── should-render-the-label-of-the-reference-for-the-property_749204799 │ │ └── recording.har └── wd-link_4260406901 │ ├── render-site-link_4171031812 │ ├── accpect-multiple-site-argument-in-priority-orders_681518586 │ │ └── recording.har │ ├── with-1-site-argument_4263406072 │ │ └── recording.har │ └── with-external-id-property_1250393918 │ │ └── recording.har │ └── wd-link-render-site-link_1561181854 │ └── use-en-lang_898868653 │ └── recording.har ├── rollup.config.js ├── src ├── WikibaseEntity.js ├── index.js ├── utils.js ├── wbk.js ├── wd-entity-element.js └── wd-link-element.js └── test ├── .eslintrc.json ├── setup.js ├── wd-entity.test.js └── wd-link.test.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [lisongx] 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | coverage/ 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/.travis.yml -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | wikidata-elements.js.org 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/_config.yml -------------------------------------------------------------------------------- /examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/examples/index.html -------------------------------------------------------------------------------- /karma.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/karma.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/prettier.config.js -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/data-loader-batching-requests_4052607242/should-batch-all-request-in-the-first-round_2903656886/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/data-loader-batching-requests_4052607242/should-batch-all-request-in-the-first-round_2903656886/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-accept-description-_2151284232/use-en-lang_898868653/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-accept-description-_2151284232/use-en-lang_898868653/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-label-display_1498090694/can-display-label-for-property_1982447875/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-label-display_1498090694/can-display-label-for-property_1982447875/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-label-display_1498090694/use-en-lang_898868653/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-label-display_1498090694/use-en-lang_898868653/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-label-display_1498090694/use-zh-hans_2404109521/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-label-display_1498090694/use-zh-hans_2404109521/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-property-display_1314033429/should-render-external-id-property_2969540019/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-property-display_1314033429/should-render-external-id-property_2969540019/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-property-display_1314033429/should-render-the-label-of-the-reference-for-the-property_749204799/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-property-display_1314033429/should-render-the-label-of-the-reference-for-the-property_749204799/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute-and-en_2165947504/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute-and-en_2165947504/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute-and-japanese-lang_3569038540/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute-and-japanese-lang_3569038540/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute-and-zh-lang_602330399/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute-and-zh-lang_602330399/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute_2279922364/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-entity-render-description-_3135370428/can-render-when-have-a-description-attribute_2279922364/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-item-label-display_1413205042/use-en-lang_898868653/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-item-label-display_1413205042/use-en-lang_898868653/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-item-label-display_1413205042/use-zh-hans_2404109521/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-item-label-display_1413205042/use-zh-hans_2404109521/recording.har -------------------------------------------------------------------------------- /recordings/wd-entity_1440830438/wd-item-property-display_1767356953/should-render-the-label-of-the-reference-for-the-property_749204799/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-entity_1440830438/wd-item-property-display_1767356953/should-render-the-label-of-the-reference-for-the-property_749204799/recording.har -------------------------------------------------------------------------------- /recordings/wd-link_4260406901/render-site-link_4171031812/accpect-multiple-site-argument-in-priority-orders_681518586/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-link_4260406901/render-site-link_4171031812/accpect-multiple-site-argument-in-priority-orders_681518586/recording.har -------------------------------------------------------------------------------- /recordings/wd-link_4260406901/render-site-link_4171031812/with-1-site-argument_4263406072/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-link_4260406901/render-site-link_4171031812/with-1-site-argument_4263406072/recording.har -------------------------------------------------------------------------------- /recordings/wd-link_4260406901/render-site-link_4171031812/with-external-id-property_1250393918/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-link_4260406901/render-site-link_4171031812/with-external-id-property_1250393918/recording.har -------------------------------------------------------------------------------- /recordings/wd-link_4260406901/wd-link-render-site-link_1561181854/use-en-lang_898868653/recording.har: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/recordings/wd-link_4260406901/wd-link-render-site-link_1561181854/use-en-lang_898868653/recording.har -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/WikibaseEntity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/src/WikibaseEntity.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/src/index.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/src/utils.js -------------------------------------------------------------------------------- /src/wbk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/src/wbk.js -------------------------------------------------------------------------------- /src/wd-entity-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/src/wd-entity-element.js -------------------------------------------------------------------------------- /src/wd-link-element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/src/wd-link-element.js -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/test/.eslintrc.json -------------------------------------------------------------------------------- /test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/test/setup.js -------------------------------------------------------------------------------- /test/wd-entity.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/test/wd-entity.test.js -------------------------------------------------------------------------------- /test/wd-link.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lisongx/wikidata-elements/HEAD/test/wd-link.test.js --------------------------------------------------------------------------------