{"id":16872858,"url":"https://github.com/semanticmediawiki/semanticimagecaption","last_synced_at":"2025-07-17T07:06:21.175Z","repository":{"id":62526556,"uuid":"260701688","full_name":"SemanticMediaWiki/SemanticImageCaption","owner":"SemanticMediaWiki","description":"Allows to generate image caption information from annotations","archived":false,"fork":false,"pushed_at":"2025-03-31T12:10:58.000Z","size":65,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-08T19:26:07.245Z","etag":null,"topics":["image-caption","mediawiki","mw","semantic","semantic-mediawiki","semantic-mediawiki-extension","sic","smw"],"latest_commit_sha":null,"homepage":"https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Image_Caption","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SemanticMediaWiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"COPYING","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},"funding":{"github":null,"patreon":null,"open_collective":"smw","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.semantic-mediawiki.org/wiki/Sponsorship"]}},"created_at":"2020-05-02T14:14:52.000Z","updated_at":"2025-03-31T12:11:02.000Z","dependencies_parsed_at":"2024-11-10T06:24:19.957Z","dependency_job_id":"ae8c3b75-4381-40b3-9582-fe707b1151b5","html_url":"https://github.com/SemanticMediaWiki/SemanticImageCaption","commit_stats":{"total_commits":32,"total_committers":4,"mean_commits":8.0,"dds":0.40625,"last_synced_commit":"cacd20ff25cc882dd5b40f3a405856e2799d4bb3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SemanticMediaWiki/SemanticImageCaption","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticImageCaption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticImageCaption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticImageCaption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticImageCaption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SemanticMediaWiki","download_url":"https://codeload.github.com/SemanticMediaWiki/SemanticImageCaption/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticImageCaption/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265575504,"owners_count":23790780,"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":["image-caption","mediawiki","mw","semantic","semantic-mediawiki","semantic-mediawiki-extension","sic","smw"],"created_at":"2024-10-13T15:17:58.359Z","updated_at":"2025-07-17T07:06:21.158Z","avatar_url":"https://github.com/SemanticMediaWiki.png","language":"PHP","funding_links":["https://opencollective.com/smw","https://www.semantic-mediawiki.org/wiki/Sponsorship"],"categories":[],"sub_categories":[],"readme":"# Semantic Image Caption\n[![Build Status](https://travis-ci.org/SemanticMediaWiki/SemanticImageCaption.svg?branch=master)](https://travis-ci.org/SemanticMediaWiki/SemanticImageCaption)\n[![Code Coverage](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticImageCaption/badges/coverage.png?s=c5563fd91abeb49b37a6ef999198530b6796dd3c)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticImageCaption/)\n[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticImageCaption/badges/quality-score.png?s=9cc8ce493f63f5c2c22db71b2061b4b8c21f43ba)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticImageCaption/)\n[![Latest Stable Version](https://poser.pugx.org/mediawiki/semantic-image-caption/version.png)](https://packagist.org/packages/mediawiki/semantic-image-caption)\n[![Packagist download count](https://poser.pugx.org/mediawiki/semantic-image-caption/d/total.png)](https://packagist.org/packages/mediawiki/semantic-image-caption)\n\nSemantic Image Caption (a.k.a. SIC) is a [Semantic MediaWiki][smw] extension to support the generation of image captions from annotations.\n\n## Requirements\n\n- PHP 7.1 or later\n- MediaWiki 1.32 to 1.34\n- Semantic MediaWiki 3.2 or later\n\n## Installation\n\nThe recommended way to install  Semantic Image Caption is using [Composer](https://getcomposer.org) with [MediaWiki's built-in support for Composer](https://www.mediawiki.org/wiki/Composer).\n\nNote that Semantic MediaWiki must be installed first according to the installation instructions provided.\n\n### Step 1\n\nChange to the base directory of your MediaWiki installation. If you do not have a \"composer.local.json\" file yet, create one and add the following content to it:\n\n```json\n{\n\t\"require\": {\n\t\t\"mediawiki/semantic-image-caption\": \"~1.0\"\n\t}\n}\n```\n\nIf you already have a \"composer.local.json\" file add the following line to the end of the \"require\"\nsection in your file:\n\n    \"mediawiki/semantic-image-caption\": \"~1.0\"\n\nRemember to add a comma to the end of the preceding line in this section.\n\n### Step 2\n\nRun the following command in your shell:\n\n    php composer.phar update --no-dev\n\nNote if you have Git installed on your system add the `--prefer-source` flag to the above command.\n\n### Step 3\n\nAdd the following line to the end of your \"LocalSettings.php\" file:\n\n    wfLoadExtension( 'SemanticImageCaption' );\n\n## Usage\n\n\u003cimg align=\"right\" width=\"250\" src=\"https://user-images.githubusercontent.com/1245473/81570680-740ffd00-9390-11ea-9db5-06f7d23b0b69.png\"\u003e\n\nCreate a [schema][schema] with the [`IMAGECAPTION_RULE_SCHEMA`](/docs/imagecaption.rule.md) type to identify the `default_rule` and possible other rules to match a specific requirement for the generation of caption information.\n\nAdd caption annotations to images with a `Text` or `Monolingual text` type property (which is assigned to the `caption_property` in the schema).\n\nDepending on the rules defined, properties used, and captions provided, embedded images will show captions generated from image page annotations.\n\n## Contribution and support\n\nIf you have remarks, questions, or suggestions, please send them to semediawiki-users@lists.sourceforge.net. You can subscribe to this list [here](http://sourceforge.net/mailarchive/forum.php?forum_name=semediawiki-user).\n\nIf you want to contribute work to the project please subscribe to the developers mailing list and have a look at the [contribution guildline](/docs/CONTRIBUTING.md). A list of people who have made contributions in the past can be found [here][contributors].\n\n* [File an issue](https://github.com/SemanticMediaWiki/SemanticImageCaption/issues)\n* [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticImageCaption/pulls)\n* Ask a question on [the mailing list](https://semantic-mediawiki.org/wiki/Mailing_list)\n\n## Tests\n\nThis extension provides unit and integration tests that are run by a [continues integration platform][travis] but can also be executed using `composer test` from the extension base directory.\n\n## License\n\n[GNU General Public License 2.0 or later][licence]\n\n[composer]: https://getcomposer.org/\n[licence]: https://www.gnu.org/copyleft/gpl.html\n[mwcomposer]: https://www.mediawiki.org/wiki/Composer\n[smw]: https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki\n[travis]: https://travis-ci.org/SemanticMediaWiki/SemanticImageCaption\n[mw-testing]: https://www.mediawiki.org/wiki/Manual:PHP_unit_testing\n[mw-update]: https://www.mediawiki.org/wiki/Manual:Update.php\n[mw-localsettings]: https://www.mediawiki.org/wiki/Localsettings\n[contributors]: https://github.com/SemanticMediaWiki/SemanticImageCaption/graphs/contributors\n[semver]: http://semver.org/\n[schema]: https://www.semantic-mediawiki.org/wiki/Help:Schema\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemanticmediawiki%2Fsemanticimagecaption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemanticmediawiki%2Fsemanticimagecaption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemanticmediawiki%2Fsemanticimagecaption/lists"}