{"id":23999017,"url":"https://github.com/professionalwiki/wikibaseexport","last_synced_at":"2025-04-14T21:37:33.053Z","repository":{"id":62834388,"uuid":"561085675","full_name":"ProfessionalWiki/WikibaseExport","owner":"ProfessionalWiki","description":"User-friendly Wikibase export page","archived":false,"fork":false,"pushed_at":"2025-04-14T17:31:00.000Z","size":447,"stargazers_count":2,"open_issues_count":3,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T21:37:21.034Z","etag":null,"topics":["export","mediawiki","mediawiki-extension","wikibase","wikibase-extension"],"latest_commit_sha":null,"homepage":"https://professional.wiki/en/extension/wikibase-export","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProfessionalWiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-11-02T23:08:25.000Z","updated_at":"2025-04-14T17:31:47.000Z","dependencies_parsed_at":"2023-02-19T08:15:52.472Z","dependency_job_id":"fc23784a-c107-4cf6-a95e-175e58cd3ebf","html_url":"https://github.com/ProfessionalWiki/WikibaseExport","commit_stats":{"total_commits":200,"total_committers":4,"mean_commits":50.0,"dds":"0.43999999999999995","last_synced_commit":"69cba21431b943dc2207e20b2729caff86669031"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FWikibaseExport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FWikibaseExport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FWikibaseExport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FWikibaseExport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProfessionalWiki","download_url":"https://codeload.github.com/ProfessionalWiki/WikibaseExport/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248965671,"owners_count":21190654,"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":["export","mediawiki","mediawiki-extension","wikibase","wikibase-extension"],"created_at":"2025-01-07T23:27:21.901Z","updated_at":"2025-04-14T21:37:33.047Z","avatar_url":"https://github.com/ProfessionalWiki.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wikibase Export\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ProfessionalWiki/WikibaseExport/ci.yml?branch=master)](https://github.com/ProfessionalWiki/WikibaseExport/actions?query=workflow%3ACI)\n[![Type Coverage](https://shepherd.dev/github/ProfessionalWiki/WikibaseExport/coverage.svg)](https://shepherd.dev/github/ProfessionalWiki/WikibaseExport)\n[![Psalm level](https://shepherd.dev/github/ProfessionalWiki/WikibaseExport/level.svg)](psalm.xml)\n[![Latest Stable Version](https://poser.pugx.org/professional-wiki/wikibase-export/v/stable)](https://packagist.org/packages/professional-wiki/wikibase-export)\n[![Download count](https://poser.pugx.org/professional-wiki/wikibase-export/downloads)](https://packagist.org/packages/professional-wiki/wikibase-export)\n[![License](https://poser.pugx.org/professional-wiki/wikibase-export/license)](LICENSE)\n\n[Wikibase] extension for exporting data as simple CSV.\n`\n[Professional Wiki] created and maintains Wikibase Export. We provide [Wikibase hosting], [Wikibase development], and [Wikibase consulting].\n\n**Table of Contents**\n\n- [Demo](#demo)\n- [Usage](#usage-documentation)\n- [REST API](#rest-api)\n- [Installation](#installation)\n- [PHP Configuration](#php-configuration)\n- [Export page text configuration](#export-page-text-configuration)\n- [Development](#development)\n- [Release notes](#release-notes)\n\n## Demo\n\nQuickly get an idea about what this extension does by checking out the [demo wiki] or [demo video].\n\n## Usage documentation\n\nSee the [usage documentation](https://professional.wiki/en/extension/wikibase-export).\n\n## REST API\n\nThis extension provides a REST API endpoint for exporting Wikibase items.\n\nFor more information, refer to the [REST API documentation].\n\n## Installation\n\nPlatform requirements:\n\n* [PHP] 8.0 or later (tested up to 8.4)\n* [MediaWiki] 1.37 or later (tested up to 1.43) (versions 1.37 and 1.38 require Wikibase Export 1.0.0)\n* [Wikibase] 1.37 or later (tested up to 1.43)\n\nThe recommended way to install Wikibase Export is using [Composer] with\n[MediaWiki's built-in support for Composer][Composer install].\n\nOn the commandline, go to your wikis root directory. Then run these two commands:\n\n```shell script\nCOMPOSER=composer.local.json composer require --no-update professional-wiki/wikibase-export:~1.0\n```\n```shell script\ncomposer update professional-wiki/wikibase-export --no-dev -o\n```\n\nThen enable the extension by adding the following to the bottom of your wikis [LocalSettings.php] file:\n\n```php\nwfLoadExtension( 'WikibaseExport' );\n```\n\nYou can verify the extension was enabled successfully by opening your wikis Special:Version page.\n\n## PHP Configuration\n\nConfiguration can be changed via [LocalSettings.php].\n\n### Export configuration\n\nIn JSON format, following the JSON Schema at [schema.json].\nGets combined with rules defined on page `MediaWiki:WikibaseExport`.\n\nVariable: `$wgWikibaseExport`\n\nDefault: `\"\"`\n\nExample: [example.json]\n\nCaution: invalid JSON will be ignored. No error will be shown, the intended config will just not be applied.\n\n### Enable in-wiki configuration\n\nIf it should be possible to configure this extension via `MediaWiki:WikibaseExport`.\n\nVariable: `$wgWikibaseExportEnableInWikiConfig`\n\nDefault: `true`\n\nExample: `false`\n\nThe page `MediaWiki:WikibaseExport` will always be available. If this configuration is set to `false`, its contents will be ignored.\n\n## Development\n\nTo ensure the dev dependencies get installed, have this in your `composer.local.json`:\n\n```json\n{\n\t\"require\": {\n\t\t\"vimeo/psalm\": \"^4\",\n\t\t\"phpstan/phpstan\": \"^1.8.11\"\n\t},\n\t\"extra\": {\n\t\t\"merge-plugin\": {\n\t\t\t\"include\": [\n\t\t\t\t\"extensions/WikibaseExport/composer.json\"\n\t\t\t]\n\t\t}\n\t}\n}\n```\n\n### Running tests and CI checks\n\nYou can use the `Makefile` by running make commands in the `WikibaseExport` directory.\n\n* `make ci`: Run everything\n* `make test`: Run all tests\n* `make cs`: Run all style checks and static analysis\n\nAlternatively, you can execute commands from the MediaWiki root directory:\n\n* PHPUnit: `php tests/phpunit/phpunit.php -c extensions/WikibaseExport/`\n* Style checks: `vendor/bin/phpcs -p -s --standard=extensions/WikibaseExport/phpcs.xml`\n* PHPStan: `vendor/bin/phpstan analyse --configuration=extensions/WikibaseExport/phpstan.neon --memory-limit=2G`\n* Psalm: `php vendor/bin/psalm --config=extensions/WikibaseExport/psalm.xml`\n\n## Release notes\n\n### Version 2.0.0 - 2025-04-14\n\n* Dropped support for MediaWiki older than 1.39\n* Added support for MediaWiki 1.40 up to 1.43\n* Added support for PHP up to 8.4\n\n### Version 1.0.0 - 2023-02-06\n\n* Special page with export UI\n    * Language selector\n    * Subject (entity) selector\n    * Grouping and filtering by year based on point in time or time range qualifiers\n    * Property selection for both grouped and ungrouped values\n    * Header style choice: entity label or entity ID\n* Support for multiple values\n* Configuration that can be set via PHP and a configuration UI on `MediaWiki:WikibaseExport`\n* API endpoint for export\n* TranslateWiki integration\n* Support for PHP from 8.0 up to 8.2\n* Support for MediaWiki from 1.37 up to 1.39\n\n[Professional Wiki]: https://professional.wiki\n[Wikibase]: https://professional.wiki/en/wikibase-wikidata-and-knowledge-graphs\n[Wikibase hosting]: https://professional.wiki/en/hosting/wikibase\n[Wikibase development]: https://professional.wiki/en/wikibase-software-development\n[Wikibase consulting]: https://professional.wiki/en/wikibase-wikidata-and-knowledge-graphs#Wikibase-Services\n[MediaWiki]: https://www.mediawiki.org\n[PHP]: https://www.php.net\n[Composer]: https://getcomposer.org\n[Composer install]: https://professional.wiki/en/articles/installing-mediawiki-extensions-with-composer\n[LocalSettings.php]: https://www.pro.wiki/help/mediawiki-localsettings-php-guide\n[Wikibase Stakeholder Group]:https://wbstakeholder.group/\n[schema.json]: https://github.com/ProfessionalWiki/WikibaseExport/blob/master/schema.json\n[example.json]: https://github.com/ProfessionalWiki/WikibaseExport/blob/master/example.json\n[Rest API Documentation]: docs/rest.md\n[demo wiki]: https://export.wikibase.wiki/\n[demo video]: https://www.youtube.com/watch?v=uBdzDcYChOI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessionalwiki%2Fwikibaseexport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofessionalwiki%2Fwikibaseexport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessionalwiki%2Fwikibaseexport/lists"}