{"id":15017713,"url":"https://github.com/semanticmediawiki/semanticcite","last_synced_at":"2025-04-13T03:57:08.611Z","repository":{"id":33726291,"uuid":"37380520","full_name":"SemanticMediaWiki/SemanticCite","owner":"SemanticMediaWiki","description":"Allows to manage citation resources using semantic annotations","archived":false,"fork":false,"pushed_at":"2025-03-27T12:11:33.000Z","size":731,"stargazers_count":22,"open_issues_count":18,"forks_count":13,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-13T03:57:03.228Z","etag":null,"topics":["citation","mediawiki","mw","sci","semantic","semantic-mediawiki","smw"],"latest_commit_sha":null,"homepage":"https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Cite","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":null,"funding":".github/FUNDING.yml","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},"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":"2015-06-13T17:15:07.000Z","updated_at":"2025-03-27T12:11:37.000Z","dependencies_parsed_at":"2023-12-18T13:31:11.800Z","dependency_job_id":"df8118d8-3d2e-4ec6-83c7-69a578648ee6","html_url":"https://github.com/SemanticMediaWiki/SemanticCite","commit_stats":{"total_commits":365,"total_committers":11,"mean_commits":33.18181818181818,"dds":0.5205479452054795,"last_synced_commit":"d198f1fbe36e2952678dcd52ab9a01df83462fa4"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticCite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticCite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticCite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SemanticMediaWiki%2FSemanticCite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SemanticMediaWiki","download_url":"https://codeload.github.com/SemanticMediaWiki/SemanticCite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661707,"owners_count":21141450,"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":["citation","mediawiki","mw","sci","semantic","semantic-mediawiki","smw"],"created_at":"2024-09-24T19:50:53.382Z","updated_at":"2025-04-13T03:57:08.583Z","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 Cite\n\n[![Build Status](https://secure.travis-ci.org/SemanticMediaWiki/SemanticCite.svg?branch=master)](http://travis-ci.org/SemanticMediaWiki/SemanticCite)\n[![Code Coverage](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticCite/badges/coverage.png?s=f3501ede0bcc98824aa51501eb3647ecf71218c0)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticCite/)\n[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticCite/badges/quality-score.png?s=d9aac7e68e6554f95b0a89608cbc36985429d819)](https://scrutinizer-ci.com/g/SemanticMediaWiki/SemanticCite/)\n[![Latest Stable Version](https://poser.pugx.org/mediawiki/semantic-cite/version.png)](https://packagist.org/packages/mediawiki/semantic-cite)\n[![Packagist download count](https://poser.pugx.org/mediawiki/semantic-cite/d/total.png)](https://packagist.org/packages/mediawiki/semantic-cite)\n\nSemantic Cite (a.k.a. SCI) is a [Semantic Mediawiki][smw] extension that provides a simple\nway of organizing citation resources with the help of semantic annotations.\n\nIt can be used to centralize the management of citation resources and foster the\nreuse of references stored within a wiki. Supported features include:\n\n- Self-added and customizable reference list\n- Individual property annotation and text formatting rules\n- In-text reference tooltip\n- Bibtex record import support\n- Metadata retrieval from selected providers (PubMed, CrossRef etc.)\n\nSeveral short [videos](https://www.youtube.com/playlist?list=PLIJ9eX-UsA5eI_YFdn6HeO2Dcta4CrPzX) demonstrate\n\"How Semantic Cite can be used or is expected to work\".\n\n## Requirements\n\n- PHP 7.4 or later\n- MediaWiki 1.39 or later\n- [Semantic MediaWiki][smw] 4.0 or later\n\nSemantic Cite **does not require** nor uses any part of extension [Cite][mw-cite] (or `\u003cref\u003e` tags) as a means to declare\na citation resource.\n\n## Installation\n\nThe recommended way to install Semantic Cite is using [Composer](http://getcomposer.org) with\n[MediaWiki's built-in support for Composer](https://www.mediawiki.org/wiki/Composer).\n\nNote that the required extension Semantic MediaWiki must be installed first according to the installation\ninstructions 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,\ncreate one and add the following content to it:\n\n```\n{\n\t\"require\": {\n\t\t\"mediawiki/semantic-cite\": \"~3.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-cite\": \"~3.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( 'SemanticCite' );\n    \n### Step 4\n\nRun the **maintenance script [\"update.php\"][mw-update]** to ensure that property tables are properly\ninitialized.\n\n## Usage\n\n![scite-sneak](https://cloud.githubusercontent.com/assets/1245473/8370671/7d8bfeac-1bcb-11e5-9007-79a3d39f70ce.png)\n\nA citation resource collects all structured data of a citation under one unique key that can be accessed\nthrough out the wiki and is created and managed by the `#scite` parser function.\n\nCitation resources (those created by `#scite`) can be added to a source page or any other wiki page each\nbeing identifiable by a citation key.\n\n```\n{{#scite:Byrne 2008\n |type=journal\n |author=Byrne, A\n |year=2008\n |title=Web 2.0 strategies in libraries and information services\n |journal=The Australian Library Journal\n |volume=57\n |number=4\n |pages=365-376\n}}\n```\n\nAbove shows an example for a citation resource to be created by the `#scite` parser. More information about\n`#scite` can be found [here][docs-scite].\n\n### In-text citation\n\nA resource can be cited using the `Citation reference` (or its alias `CiteRef`) property for an in-text\nannotation in form of `Lorem ipsum [[CiteRef::Byrne 2008]] ...` to appear as `Lorem ipsum`\u003csup\u003e`[1]`\u003c/sup\u003e` ...`.\n\nA reference list is automatically added to the content as soon as a `Citation reference` annotation is added\nto a page. The magic word `__NOREFERENCELIST__` can be used to suppress a reference list from showing on an\nindividual page while `#referencelist` can be used to position the list differently.\n\nMore information about in-text citations and references can be found [here][docs-intext] together with a\ndescription about the usage of the [`#referencelist`][docs-referencelist] parser function.\n\nFor questions about Semantic Cite and [`Cite`][mw-cite], see the comments [section][docs-faq].\n\n### Metadata search\n\n`Special:FindCitableMetadata` is provided as user interface to search, find, and map metadata with the\n`#scite` parser to conveniently integrate authority data from sources like PubMed or CrossRef.\n\nFor more information, please read the search [section][docs-search].\n\n## Configuration\n\nTo change default settings, or add property mapping add text formatting rules, please read the\n[configuration][docs-config] document.\n\n## Contribution and support\n\nIf you want to contribute work to the project please subscribe to the developers mailing list and\nhave a look at the contribution guideline.\n\n* [File an issue](https://github.com/SemanticMediaWiki/SemanticCite/issues)\n* [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticCite/pulls)\n* Ask a question on [the mailing list](https://www.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]\nbut can also be executed using `composer phpunit` from the extension base directory.\n\n## License\n\n[GNU General Public License, version 2 or later][gpl-licence].\n\n[smw]: https://github.com/SemanticMediaWiki/SemanticMediaWiki\n[contributors]: https://github.com/SemanticMediaWiki/SemanticCite/graphs/contributors\n[travis]: https://travis-ci.org/SemanticMediaWiki/SemanticCite\n[gpl-licence]: https://www.gnu.org/copyleft/gpl.html\n[composer]: https://getcomposer.org/\n[mw-cite]: https://github.com/wikimedia/mediawiki-extensions-Cite\n[mw-update]: https://www.mediawiki.org/wiki/Manual:Update.php\n[docs-config]: https://github.com/SemanticMediaWiki/SemanticCite/blob/master/docs/00-configuration.md\n[docs-faq]: https://github.com/SemanticMediaWiki/SemanticCite/blob/master/docs/08-faq.md\n[docs-search]: https://github.com/SemanticMediaWiki/SemanticCite/blob/master/docs/07-metadata-search.md\n[docs-scite]: https://github.com/SemanticMediaWiki/SemanticCite/blob/master/docs/04-scite.md\n[docs-intext]: https://github.com/SemanticMediaWiki/SemanticCite/blob/master/docs/06-references.md\n[docs-referencelist]: https://github.com/SemanticMediaWiki/SemanticCite/blob/master/docs/05-referencelist.md\n[remi]: https://github.com/onoi/remi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemanticmediawiki%2Fsemanticcite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemanticmediawiki%2Fsemanticcite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemanticmediawiki%2Fsemanticcite/lists"}