{"id":21198736,"url":"https://github.com/natlibfi/skosmos-widget-wiki","last_synced_at":"2025-03-14T22:13:41.156Z","repository":{"id":40505678,"uuid":"113415038","full_name":"NatLibFi/Skosmos-widget-wiki","owner":"NatLibFi","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-30T12:09:58.000Z","size":80,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-21T14:46:13.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NatLibFi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-07T07:01:32.000Z","updated_at":"2022-08-18T09:38:57.000Z","dependencies_parsed_at":"2022-08-09T22:21:58.396Z","dependency_job_id":null,"html_url":"https://github.com/NatLibFi/Skosmos-widget-wiki","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FSkosmos-widget-wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FSkosmos-widget-wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FSkosmos-widget-wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NatLibFi%2FSkosmos-widget-wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NatLibFi","download_url":"https://codeload.github.com/NatLibFi/Skosmos-widget-wiki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243652707,"owners_count":20325611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T19:53:10.655Z","updated_at":"2025-03-14T22:13:41.127Z","avatar_url":"https://github.com/NatLibFi.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Skosmos plugin for displaying wikipedia articles on concept pages\n### Motivation\nIn order to improve user experience for users of a Skosmos installation, display the corresponding wikipedia page in a plugin.\n\n### How does it work?\nThis plugin fulfills the requirements for [Skosmos](https://github.com/NatLibFi/Skosmos) [plugins](https://github.com/NatLibFi/Skosmos/wiki/Plugins). Functionality-wise, reads concept data as JSON-LD and searches for the possible wikidata link. If one is found, looks for the best available content language wikipedia page (which is determined by the preferred language order of the Skosmos vocabulary) and asynchronically queries that via the [Wikipedia REST API](https://en.wikipedia.org/api/rest_v1/). Finally, the response is rendered to the user.\n\n### Noteworthy\n- Pollutes the global namespace with `WIKI`.\n- If one wants to update the wiki css, run `prepender.py --input $INPUT --output $OUTPUT --prepend-with \"#wiki\"` (see the file for details) on an unminified file to prepend the input file CSS selectors with `#wiki` in order to avoid polluting the global css definitions.\n- Please also remember to add LICENSE information for each CSS file (also supported in `prepender.py`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlibfi%2Fskosmos-widget-wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatlibfi%2Fskosmos-widget-wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatlibfi%2Fskosmos-widget-wiki/lists"}