{"id":20773836,"url":"https://github.com/neurocracy/drupal-omnipedia-attached-data","last_synced_at":"2026-04-24T23:34:18.379Z","repository":{"id":54377406,"uuid":"499690430","full_name":"neurocracy/drupal-omnipedia-attached-data","owner":"neurocracy","description":"Provides the attached data framework for Omnipedia.","archived":false,"fork":false,"pushed_at":"2025-09-19T21:29:01.000Z","size":162,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"5.x","last_synced_at":"2025-09-20T00:04:20.820Z","etag":null,"topics":["drupal","drupal-module","php"],"latest_commit_sha":null,"homepage":"https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-attached-data","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neurocracy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-04T00:57:14.000Z","updated_at":"2025-09-19T21:29:05.000Z","dependencies_parsed_at":"2025-01-12T21:24:27.977Z","dependency_job_id":"6805a0c2-ae8e-4873-8b84-a094333adb11","html_url":"https://github.com/neurocracy/drupal-omnipedia-attached-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neurocracy/drupal-omnipedia-attached-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-attached-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-attached-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-attached-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-attached-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurocracy","download_url":"https://codeload.github.com/neurocracy/drupal-omnipedia-attached-data/tar.gz/refs/heads/5.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurocracy%2Fdrupal-omnipedia-attached-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["drupal","drupal-module","php"],"created_at":"2024-11-17T12:27:26.327Z","updated_at":"2026-04-24T23:34:18.368Z","avatar_url":"https://github.com/neurocracy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This contains the source files for the \"*Omnipedia - Attached data*\" Drupal\nmodule, which provides the attached data framework for\n[Omnipedia](https://omnipedia.app/).\n\n⚠️ ***[Why open source? / Spoiler warning](https://omnipedia.app/open-source)***\n\n*Please note that [all development and issue tracking is done on \u003cimg src=\"https://gitlab.com/neurocracy/omnipedia/omnipedia/-/raw/main/docs/assets/gitlab/gitlab-logo.svg\" alt=\"The GitLab logo\" width=\"16\" height=\"16\"\u003e GitLab](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-attached-data).*\n\n----\n\n# Description\n\nAttached data is our internal name for the content displayed in pop-ups on\nOmnipedia. It quickly became apparent during development that we couldn't\nmanually embed all the pop-up content because it would be a nightmare to keep up\nto date. We needed to be able to define pop-up content once and have a system\nautomatically attach it where ever it's referenced. The resulting system allows\neditors to define each one as their own entities which are then automatically\nattached to all wiki pages that reference them.\n\nThere are currently two types of attached data:\n\n1. Abbreviations: These define the many abbreviations used across Omnipedia; the target string is the abbreviated form and the content is the fully spelled out form.\n\n2. Wikimedia links: These are the paragraph-length pop-ups found all across Omnipedia; the target string is a topic name, and the content is what is displayed in the pop-up; these are so named because at one point we intended these to actually link off-site to Wikipedia and related sites, but decided against it.\n\n----\n\n# Requirements\n\n* [Drupal 10 or 11](https://www.drupal.org/download)\n\n* PHP 8.1\n\n* [Composer](https://getcomposer.org/)\n\n## Drupal dependencies\n\nBefore attempting to install this, you must add the Composer repositories as\ndescribed in the installation instructions for these dependencies:\n\n* The [`ambientimpact_core`](https://github.com/Ambient-Impact/drupal-ambientimpact-core) and [`ambientimpact_ux`](https://github.com/Ambient-Impact/drupal-ambientimpact-ux) modules.\n\n* The [`omnipedia_content`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-content), [`omnipedia_core`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-core), and [`omnipedia_date`](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-date) modules.\n\n----\n\n# Installation\n\n## Composer\n\n### Set up\n\nEnsure that you have your Drupal installation set up with the correct Composer\ninstaller types such as those provided by [the `drupal/recommended-project`\ntemplate](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates#s-drupalrecommended-project).\nIf you're starting from scratch, simply requiring that template and following\n[the Drupal.org Composer\ndocumentation](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates)\nshould get you up and running.\n\n### Repository\n\nIn your root `composer.json`, add the following to the `\"repositories\"` section:\n\n```json\n{\n  \"type\": \"vcs\",\n  \"url\": \"https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-attached-data.git\",\n  \"only\": [\"drupal/omnipedia_attached_data\"]\n}\n```\n\n### Installing\n\nOnce you've completed all of the above, run `composer require\n\"drupal/omnipedia_attached_data:^4.0@dev\"` in the root of your project to have\nComposer install this and its required dependencies for you.\n\n-----------------\n\n# Breaking changes\n\nThe following major version bumps indicate breaking changes:\n\n* 4.x:\n\n  * Requires Drupal 9.5 or [Drupal 10](https://www.drupal.org/project/drupal/releases/10.0.0).\n\n  * Increases minimum version of [Hook Event Dispatcher](https://www.drupal.org/project/hook_event_dispatcher) to 3.1 and adds support for 4.0 which supports Drupal 10.\n\n  * Removes the `omnipedia_attached_data_migrate` module; you can still find it in the 3.x branch.\n\n* 5.x:\n\n  * Increased [`drupal/ambientimpact_ux` to 2.x](https://github.com/Ambient-Impact/drupal-ambientimpact-ux/tree/2.x) from 1.x.\n\n  * Increased [`omnipedia_content` to 7.x](https://gitlab.com/neurocracy/omnipedia/modules/omnipedia-content/tree/7.x) from 6.x and removed dependency on the `omnipedia_tooltip` which was removed.\n\n  * Removed Drupal 9.5 support as [it's now end-of-life](https://endoflife.date/drupal).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-attached-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-attached-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurocracy%2Fdrupal-omnipedia-attached-data/lists"}