Soeren.oldag has submitted this change and it was merged. Change subject: Adapted composer.json and inserted translations ......................................................................
Adapted composer.json and inserted translations Deleted unnecessary required software from composer.json and inserted translations from the WikidataQuality base extension. Change-Id: If06b44316128744aa9a482e9f23424c7e3e97579 --- M composer.json A i18n/en.json A i18n/qqq.json 3 files changed, 73 insertions(+), 5 deletions(-) Approvals: Soeren.oldag: Verified; Looks good to me, approved diff --git a/composer.json b/composer.json index 6c3ce90..09d5c54 100644 --- a/composer.json +++ b/composer.json @@ -13,14 +13,9 @@ "issues": "https://phabricator.wikimedia.org/project/profile/989/" }, "require": { - "php": ">=5.3.0", "wikibase/data-model": "~2.6", "wikibase/data-model-serialization": "~1.3.0", "serialization/serialization": "3.2.1" - }, - "require-dev": { - "phpunit/phpunit": "~4.5", - "satooshi/php-coveralls": "dev-master" }, "autoload": { "psr-4": { diff --git a/i18n/en.json b/i18n/en.json new file mode 100644 index 0000000..457debe --- /dev/null +++ b/i18n/en.json @@ -0,0 +1,34 @@ +{ + "@metadata": { + "authors": "BP2014N1" + }, + + "wikidataquality-crosscheck": "Cross-Check with external databases", + "wikidataquality-crosscheck-instructions": "Enter an entity ID and let it cross-check against GND.", + "wikidataquality-crosscheck-instructions-example": "Try for example Q159099 (Nina Hagen) and look at the results.", + "wikidataquality-crosscheck-empty-result": "The entered entity has no statements, that can be cross-checked with any supported database.", + "wikidataquality-crosscheck-result-table-header-local-value": "Wikidata value", + "wikidataquality-crosscheck-result-table-header-external-value": "External value", + "wikidataquality-crosscheck-result-table-header-external-source": "External source", + + "wikidataquality-externaldbs": "List of external databases", + "wikidataquality-externaldbs-instructions": "All databases that are supported for cross-checks against Wikidata entites are listed below.", + "wikidataquality-externaldbs-overview-headline": "Databases", + "wikidataquality-externaldbs-name": "Name", + "wikidataquality-externaldbs-import-date": "Import date", + "wikidataquality-externaldbs-language": "Data language", + "wikidataquality-externaldbs-source-urls": "Source URLs", + "wikidataquality-externaldbs-size": "Size", + "wikidataquality-externaldbs-license": "License", + "wikidataquality-externaldbs-no-databases": "No external databases available for cross-check.", + + "apihelp-wdqacrosscheck-description": "API module to cross-check Wikibase entities against external data.", + "apihelp-wdqacrosscheck-param-entities": "Ids of the entities that should be cross-checked. Required unless claims are provided.", + "apihelp-wdqacrosscheck-param-properties": "Optional filter to cross-check only statements with specified property ids. This only works, if entities are given.", + "apihelp-wdqacrosscheck-param-claims": "Ids of claims that should be cross-checked. Required unless entities are provided.", + "apihelp-wdqacrosscheck-examples-1": "Run cross-check for all statements of item with ID Q76.", + "apihelp-wdqacrosscheck-examples-2": "Run cross-check for all statements of item with ID Q76 and item with ID Q567.", + "apihelp-wdqacrosscheck-examples-3": "Run cross-check for all statements of item with ID Q76 and item with ID Q567, that uses property with ID P19.", + "apihelp-wdqacrosscheck-examples-4": "Run cross-check for all statements of item with ID Q76 and item with ID Q567, that uses property with ID P19 or P31.", + "apihelp-wdqacrosscheck-examples-5": "Run cross-check for claim with GUID of Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F." +} diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..dec420e --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,39 @@ +{ + "@metadata": { + "authors": [ + "BP2014N1", + "Raymond", + "Liuxinyu970226", + "Robby" + ] + }, + + "wikidataquality-crosscheck": "{{doc-special|CrossCheck}}", + "wikidataquality-crosscheck-instructions": "Instructions for starting a cross-check against external databases.", + "wikidataquality-crosscheck-instructions-example": "Example, what to enter to get good results for external validation. Q159099 is suitable.", + "wikidataquality-crosscheck-empty-result": "Message that appears, when the given entity has no statements that can be validated with any supported external database.", + "wikidataquality-crosscheck-result-table-header-local-value": "Header of the column that displays the data values stored in Wikidata.", + "wikidataquality-crosscheck-result-table-header-external-value": "Header of the column that displays the data values stored in external databases.", + "wikidataquality-crosscheck-result-table-header-external-source": "Header of the column that displays the name of the external source.", + + "wikidataquality-externaldbs": "{{doc-special|ExternalDbs}}", + "wikidataquality-externaldbs-instructions": "Purpose of SpecialPage:ExternalDbs", + "wikidataquality-externaldbs-overview-headline": "Headline that appears above the overview of external databases.\n{{Identical|Database}}", + "wikidataquality-externaldbs-name": "Name of the external source.\n{{Identical|Name}}", + "wikidataquality-externaldbs-import-date": "Name for import date from the external source.", + "wikidataquality-externaldbs-language": "Name for language from the external source.", + "wikidataquality-externaldbs-source-urls": "Name for source urls from the external source.", + "wikidataquality-externaldbs-size": "Name for size from the external source.\n{{Identical|Size}}", + "wikidataquality-externaldbs-license": "Name for license from the external source.\n{{Identical|License}}", + "wikidataquality-externaldbs-no-databases": "Message that appears when no external databases exist.", + + "apihelp-wdqacrosscheck-description": "{{doc-apihelp-description|wblinktitles}}", + "apihelp-wdqacrosscheck-param-entities": "{{doc-apihelp-param|wdqacrosscheck|entities}}", + "apihelp-wdqacrosscheck-param-properties": "{{doc-apihelp-param|wdqacrosscheck|properties}}", + "apihelp-wdqacrosscheck-param-claims": "{{doc-apihelp-param|wdqacrosscheck|claims}}", + "apihelp-wdqacrosscheck-examples-1": "{{doc-apihelp-example|wdqacrosscheck}}", + "apihelp-wdqacrosscheck-examples-2": "{{doc-apihelp-example|wdqacrosscheck}}", + "apihelp-wdqacrosscheck-examples-3": "{{doc-apihelp-example|wdqacrosscheck}}", + "apihelp-wdqacrosscheck-examples-4": "{{doc-apihelp-example|wdqacrosscheck}}", + "apihelp-wdqacrosscheck-examples-5": "{{doc-apihelp-example|wdqacrosscheck}}" +} -- To view, visit https://gerrit.wikimedia.org/r/204789 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If06b44316128744aa9a482e9f23424c7e3e97579 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikidataQualityExternalValidation Gerrit-Branch: master Gerrit-Owner: Tamslo <tamaraslosa...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Siebrand <siebr...@kitano.nl> Gerrit-Reviewer: Soeren.oldag <soeren_ol...@freenet.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits