Commit Graph

508 Commits

Author SHA1 Message Date
Hosted Weblate
f6a80d2241
Merge branch 'origin/master' into Weblate. 2020-03-16 10:36:04 +01:00
Bodhisattwa Mandal
7b45f3036c
Added translation using Weblate (Bengali) 2020-03-16 10:36:00 +01:00
Lu Liu
c20dc69294
mock Wikidata service (#2412) 2020-03-14 15:36:09 +00:00
zengchu2
8b94b142cb
Enable auto complete in chrome (#2387)
Co-authored-by: zengchu2 <1450834797z@gmail.com>
2020-03-11 09:49:04 +00:00
afkbrb
be5f6e6402 move check functions in DescriptionScrutinizer to CommonDescriptionScrutinizer 2020-03-02 21:59:55 +08:00
Lu Liu
43b32a07e0
Update extensions/wikidata/module/langs/translation-en.json
Co-Authored-By: Thad Guidry <thadguidry@gmail.com>
2020-03-02 20:10:02 +08:00
afkbrb
2fef34795d change severity 2020-03-02 17:40:03 +08:00
afkbrb
b0bf9203ba add "." 2020-03-02 14:52:01 +08:00
afkbrb
82f95f2bbf update DescriptionScrutinizer & create EnglishDescriptionScrutinizer 2020-03-02 14:35:42 +08:00
Lu Liu
9659157a0b
Update DescriptionScrutinizer.java 2020-03-01 23:13:38 +08:00
afkbrb
7e5a7acd58 fix spelling mistake 2020-03-01 22:22:52 +08:00
afkbrb
d1a177e37d add corresponding translation 2020-03-01 22:05:16 +08:00
afkbrb
077b4c7afa add DescriptionScrutinizerTest 2020-03-01 22:04:37 +08:00
afkbrb
3006a59a08 register DescriptionScrutinizer 2020-03-01 22:03:59 +08:00
afkbrb
4252de06eb add DescriptionScrutinizer 2020-03-01 22:03:15 +08:00
afkbrb
6ad252c55a add corresponding tests 2020-02-29 11:05:23 +08:00
afkbrb
ab0c625f94 fix issue #2320 2020-02-28 11:57:03 +08:00
Antonin Delpeuch
9ff138c65d Apply tags directly through the Wikibase API, fixes #2196 2020-02-03 11:21:03 +01:00
Antonin Delpeuch
429f26c2ae Set version to 3.4-SNAPSHOT 2020-01-31 19:06:56 +01:00
Antonin Delpeuch
58b839b9c5 Set version to 3.3 2020-01-31 18:22:18 +01:00
Hosted Weblate
c5b1c434e7
Merge branch 'origin/master' into Weblate. 2020-01-10 18:21:31 +01:00
Luca Martinelli
d50da67142
Translated using Weblate (Italian)
Currently translated at 100.0% (158 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2020-01-10 18:21:27 +01:00
Antonin Delpeuch
faece760f6 Set version to 3.3-SNAPSHOT 2020-01-08 20:56:51 +01:00
Antonin Delpeuch
e62bb7ac0e Set version to 3.3-rc1 2020-01-06 13:30:39 +01:00
Antonin Delpeuch
d77d54803f Fix Wikidata TODAY test 2020-01-06 13:30:10 +01:00
Antonin Delpeuch
ae41348e00 Fix bug with TODAY in Wikidata schema 2020-01-06 11:40:14 +01:00
Antonin Delpeuch
1046c38727 Fix Wikidata login form, closes #2194 2020-01-06 11:40:02 +01:00
Antonin Delpeuch
fe57897e8e Fix Wikidata login CSRF issue. Closes #2228. 2019-12-25 11:02:19 +01:00
Antonin Delpeuch
8ceaeb0743 Use jQuery.submit to bind form to login 2019-12-22 23:40:57 +01:00
Antonin Delpeuch
c392126308 Merge branch 'master' of https://github.com/Bhanu-mbvg/OpenRefine into Bhanu-mbvg-master 2019-12-22 21:57:00 +01:00
Bhanu Gupta
7c06afc3bb Enter key press issues resolved 2019-12-22 20:01:29 +05:30
Bhanu Gupta
acba3e59ae Enter key press issues resolved 2019-12-22 19:56:39 +05:30
Antonin Delpeuch
1355a373c9 Mock HTTP calls in EntityCache 2019-12-21 19:09:03 +01:00
Bhanu Gupta
cfc962668c Added fuctionality of form submit by enter key in Wikidata Login dialogue 2019-12-21 05:21:43 +05:30
Antonin Delpeuch
1f708637b6 Fix overflow error for quantities stored as doubles. Closes #2244. 2019-12-13 15:23:24 +01:00
Sam Reed
d2519edba2
Translated using Weblate (English (United Kingdom))
Currently translated at 0.6% (1 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/en_GB/
2019-11-23 11:04:53 +01:00
Sam Reed
eaa62be220
Added translation using Weblate (English (United Kingdom)) 2019-11-22 10:31:18 +01:00
Antonin Delpeuch
b19e8a9a74
Update Wikidata-Toolkit to solve various issues (#2215)
Updates Wikidata-Toolkit to 0.11.0

This enables the following improvements:
- https://github.com/Wikidata/Wikidata-Toolkit/issues/431
- https://github.com/Wikidata/Wikidata-Toolkit/issues/456

This closes #2196 although the feature will not be enabled until 3.4 for technical reasons
(the openrefine-3.3 tag on Wikidata can only be applied by an AbuseFilter, not manually through
the API).

* Update WDTK and add timeouts to Wikidata editing, closes #2211.

* Explicitly add wdtk-util as a dependency

* Catch MediaWikiApiError following change of interface
2019-11-21 21:47:49 +01:00
Hosted Weblate
89be7a50bc
Merge branch 'origin/master' into Weblate. 2019-11-12 17:04:25 +01:00
Alicia Fagerving
76b9fd5cda
Translated using Weblate (Swedish)
Currently translated at 94.9% (150 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-11-12 17:04:22 +01:00
Antonin Delpeuch
90bf6ecd70
Merge pull request #2208 from OpenRefine/issue-2205-scheduling-error
Change behaviour of Wikidata editing in case of network failure
2019-11-10 17:38:47 +00:00
Antonin Delpeuch
69a7cb2832 Change behaviour in case of network failure: finish operation without throwing an exception. Closes #2205 2019-11-06 19:28:39 +00:00
Antonin Delpeuch
de6dedb43d Skip update if rewriting failed 2019-11-05 17:49:47 +00:00
Antonin Delpeuch
ec5c9cd418 Fix duplicate creations, closes #2206 2019-11-04 21:17:18 +00:00
Hosted Weblate
9675f0eef8
Merge branch 'origin/master' into Weblate. 2019-10-22 19:53:14 +02:00
Mattias Münster
8f1b3d8fab
Translated using Weblate (Swedish)
Currently translated at 93.0% (147 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-10-22 19:53:11 +02:00
Antonin Delpeuch
fe7c71aecd Update Wikidata extension for 3.3 2019-10-21 10:06:37 +01:00
Antonin Delpeuch
1ee5068f0d CSRF protection for Wikidata extension 2019-10-17 10:42:05 +01:00
Isao Matsunami
b89575d480
Translated using Weblate (Japanese)
Currently translated at 100.0% (158 of 158 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-09-14 00:23:54 +02:00
Antonin Delpeuch
c35b2e154f
Merge pull request #2141 from OpenRefine/issue-1904-mock-data-extension-tests
Mock HTTP calls in data extension tests.
2019-09-12 10:41:47 +01:00
Antonin Delpeuch
d728acb923 Merge branch 'master' of ssh://github.com/OpenRefine/OpenRefine 2019-09-12 10:37:26 +01:00
Antonin Delpeuch
fd62e343ec Delete unused WDTK jars 2019-09-12 10:37:16 +01:00
Antonin Delpeuch
fdf742b052 Unlink wikidata extension from RefineTest 2019-09-12 10:24:25 +01:00
Antonin Delpeuch
29f6d1d14b
Merge pull request #2137 from OpenRefine/issue-2136-wikidata-calendar
Improved support for Wikidata dates
2019-09-11 17:16:49 +01:00
leela
0481ada71a
ellipsis, added 2019-09-06 12:55:16 +00:00
Antonin Delpeuch
6c128d6692 Attempt to fix surefire on Appveyor 2019-08-28 10:08:22 +01:00
Antonin Delpeuch
a67bc991f9 Update extensions/wikidata/pom.xml 2019-08-27 20:01:04 +01:00
Antonin Delpeuch
80eea8635b Add support for TODAY constant in Wikidata schemas 2019-08-25 13:42:28 +01:00
Antonin Delpeuch
43980e69dd Add support for custom calendar in Wikidata date parsing 2019-08-25 13:26:09 +01:00
Antonin Delpeuch
001dc584f0 Add warning for early Gregorian dates in Wikidata schema (#2136) 2019-08-25 13:03:41 +01:00
Antonin Delpeuch
29f3cef3ec Remove uses of junit, closes #2133 2019-08-23 14:09:27 +01:00
Antonin Delpeuch
2b03efd84f Rename test packages to match tested ones, for #2133 2019-08-23 11:55:31 +01:00
Antonin Delpeuch
55c921b9b2
Merge pull request #2100 from weblate/weblate-openrefine-translations
Update from Weblate
2019-07-26 16:11:12 +01:00
Antonin Delpeuch
8ab7653e0b Set version to 3.3-SNAPSHOT 2019-07-26 15:52:00 +01:00
Antonin Delpeuch
e3417bff49 Set version to 3.2 2019-07-26 15:29:57 +01:00
Isao Matsunami
3ef0cea4ca
Translated using Weblate (Japanese)
Currently translated at 100.0% (156 of 156 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-07-24 18:51:49 +02:00
Antonin Delpeuch
a4a3c07e31 Fix label of Wikidata schema export action 2019-07-24 01:24:59 +01:00
Antonin Delpeuch
79a0391ddb Wikidata: Use distinct tabs for QS and schema export. Closes #2097. 2019-07-23 10:31:17 +01:00
Hosted Weblate
acdf49a82b
Merge branch 'origin/master' into Weblate. 2019-07-12 12:01:45 +02:00
Isao Matsunami
0fbe6608dc
Translated using Weblate (Japanese)
Currently translated at 100.0% (155 of 155 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-07-12 12:01:43 +02:00
Antonin Delpeuch
74f351f265 Temporarily disable test as bug is not critical. 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
b8905f5190 Add StatementGroup wrapper to control JSON serialization 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
214efc73b4 Add regression test for serialization of statement groups 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
8ae4c8fe94 Update to Wikidata-Toolkit 0.10.0. Closes #2064. 2019-07-03 10:22:11 +02:00
Antonin Delpeuch
09a42fd2f5
Merge pull request #2065 from OpenRefine/issue-2063-overriding-terms
Wikidata: Add labels or descriptions without overriding existing ones
2019-07-02 10:18:56 +02:00
Antonin Delpeuch
c062641698
Merge pull request #2062 from OpenRefine/issue-2046-entity-cache
Fix datavalue rendering cache in Wikidata preview
2019-07-02 10:18:37 +02:00
Antonin Delpeuch
fa6e3ab0de
Merge pull request #2061 from OpenRefine/speed-up-wikidata-uploads
Speed up Wikidata uploads
2019-06-14 14:22:48 +01:00
Antonin Delpeuch
30c0108241 Change override term UI to use checkbox 2019-06-13 10:56:06 +01:00
Antonin Delpeuch
f7a8085bab Update UI to allow for non-overriding terms. Closes #2063 2019-06-13 09:21:30 +01:00
Antonin Delpeuch
05839b1bbf Add support for conditional label and term updates, for issue #2063. 2019-06-12 18:59:10 +01:00
Antonin Delpeuch
09c89efc8f Fix datavalue rendering cache. Closes #2046. 2019-06-06 22:18:58 +01:00
Antonin Delpeuch
03fef3d7b4 Switch to own language code validation in backend, for #1933 2019-06-06 21:00:03 +01:00
Antonin Delpeuch
80ef2976df Speed up Wikidata uploads 2019-06-06 20:56:48 +01:00
Antonin Delpeuch
4b6300daff Update available language codes in Wikidata extension. Closes #1933. 2019-05-31 09:09:24 +01:00
Antonin Delpeuch
432f16bb6b Remove useless condition in Wikidata schema 2019-04-18 18:24:01 +01:00
Nathan
9aa809a367
Translated using Weblate (French)
Currently translated at 100.0% (150 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/fr/
2019-04-14 17:05:43 +02:00
Antonin Delpeuch
a077968dc3
Merge pull request #2008 from ostephens/jackson-fixes
Cell serialization fixes
2019-04-07 20:09:41 +01:00
Owen Stephens
318bb54185 Use getValue when getting value of a cell 2019-04-04 19:09:05 +01:00
Owen Stephens
a79e0f3187 Only compute recon features if cell contains a string 2019-04-04 15:09:56 +01:00
Stefan Weil
ed04be1c96 extensions: Fix some typos in comments and message texts
All typos were found and fixed using codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-04-02 17:38:47 +02:00
Sjoerd de Bruin
a8c0c2e859
Translated using Weblate (Dutch)
Currently translated at 59.3% (89 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nl/
2019-03-26 22:39:04 +01:00
Sjoerd de Bruin
d9c1391869
Added translation using Weblate (Dutch) 2019-03-25 21:55:41 +01:00
Allan Nordhøy
4781a1515a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (150 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/nb_NO/
2019-03-14 03:03:59 +01:00
Isao Matsunami
639f3a563a
Translated using Weblate (Japanese)
Currently translated at 100.0% (150 of 150 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/
2019-03-14 03:03:58 +01:00
Antonin Delpeuch
af8608e897 Bump version to 3.2-SNAPSHOT 2019-03-01 11:17:28 +00:00
Antonin Delpeuch
2a92726294 Set version to 3.2-beta 2019-03-01 10:55:42 +00:00
Antonin Delpeuch
9cb9f4639e Reset copied reference earlier in Wikidata schema 2019-03-01 09:59:08 +00:00
Antonin Delpeuch
dccc20f149
Merge pull request #1961 from OpenRefine/issue1927
Add ability to copy references in Wikidata schema
2019-02-27 10:01:23 +00:00
Antonin Delpeuch
bfec5ea2cb
Merge pull request #1968 from OpenRefine/wikidata_summary_fix
Increment editgroups hash size for 3.2, fix comma issue in summaries
2019-02-27 08:56:12 +00:00
Antonin Delpeuch
70094f68b2
Merge pull request #1958 from OpenRefine/issue1934
Make suggest items clickable with the middle button.
2019-02-25 10:30:31 +00:00
Antonin Delpeuch
ac07457306 Fix suggest middle click in Wikidata schema 2019-02-25 10:16:10 +00:00
Antonin Delpeuch
d0a27543f5 Add paste button on new statements, fix invalidation of 'copied' state 2019-02-22 18:24:55 +00:00
Antonin Delpeuch
50b5ce7561 More robust replacement condition in Wikidata summaries 2019-02-22 18:05:00 +00:00
Antonin Delpeuch
caebfe8848 Increment editgroups hash size for 3.2, fix comma issue in summaries
Fixes https://github.com/Wikidata/editgroups/issues/4.
2019-02-22 16:45:44 +00:00
Antonin Delpeuch
6d820dfea5 Update frontend date validation and format 2019-02-19 22:46:33 +00:00
Antonin Delpeuch
b157651e9e Fix Wikidata date parsing tests 2019-02-19 22:32:50 +00:00
Antonin Delpeuch
5534e84b29 Refine implementation thanks to the tests 2019-02-19 22:20:11 +00:00
Antonin Delpeuch
6bc9a6ea8e Do not represent time values with precision > 11. Closes #1944. 2019-02-19 22:08:20 +00:00
Antonin Delpeuch
a7482ff0d2 Add ability to copy references. Closes #1912. 2019-02-19 21:55:27 +00:00
Antonin Delpeuch
2f298b4093 Also make suggestions clickable in Wikidata extension 2019-02-19 14:42:04 +00:00
Stefan Olsson
30a29020bb
Translated using Weblate (Swedish)
Currently translated at 100.0% (147 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-02-04 20:11:48 +01:00
Stefan Olsson
f60676b39e
Translated using Weblate (Swedish)
Currently translated at 25.9% (38 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/sv/
2019-02-03 18:10:23 +01:00
Stefan Olsson
7df945f84b
Added translation using Weblate (Swedish) 2019-02-02 16:45:38 +01:00
Antonin Delpeuch
6dd9f41639
Merge pull request #1925 from OpenRefine/issue1887
Compute reconciliation features when creating new items
2019-01-10 04:44:45 +01:00
Antonin Delpeuch
b1a84da1da Recompute features when creating new items. Closes #1887. 2018-12-31 17:38:19 +01:00
Antonin Delpeuch
13aec40b88 Index terms by language code in ItemUpdate. Fixes #1917. 2018-12-30 19:12:44 +01:00
Hosted Weblate
434c14a50a
Merge branch 'origin/master' into Weblate. 2018-12-30 11:38:51 +01:00
Antonin Delpeuch
234ca8486a
Merge pull request #1889 from OpenRefine/issue1882
Update Butterfly to 1.0.2.
2018-12-30 11:38:36 +01:00
Luca Martinelli
e706447b4f
Translated using Weblate (Italian)
Currently translated at 100.0% (147 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-12-16 03:09:22 +01:00
Jacky
150ee12058
Merge pull request #1902 from OpenRefine/cleanup
Tidy up various things
2018-12-11 20:59:50 -05:00
Antonin Delpeuch
98bd03e5f4 Reorganize Java imports 2018-12-09 11:19:39 +09:00
jackyq2015
a8cf844f9c fix issue #1900 2018-12-08 20:57:16 -05:00
Antonin Delpeuch
6a10765a83 Revert "Temporary deserialization bug fix for extension operations"
This reverts commit 7ff4a453d3.
2018-12-07 10:24:59 +09:00
Hosted Weblate
0418f090fd
Merge branch 'origin/master' into Weblate 2018-12-02 00:57:20 +01:00
Myoung Seok Lee
b3d197f75a
Translated using Weblate (Korean)
Currently translated at 57.8% (85 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ko/
2018-12-02 00:57:19 +01:00
Antonin Delpeuch
5639f1b2f1
Merge pull request #1755 from OpenRefine/jackson-serialization
Jackson serialization
2018-12-01 23:56:50 +00:00
Antonin Delpeuch
7ff4a453d3 Temporary deserialization bug fix for extension operations 2018-12-01 23:38:08 +00:00
Myoung Seok Lee
a50ec1fba5
Added translation using Weblate (Korean) 2018-11-30 17:34:09 +01:00
Flavio Pompermaier
3f14b3af7f
Translated using Weblate (Italian)
Currently translated at 78.9% (116 of 147 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/it/
2018-11-30 17:08:52 +01:00
Antonin Delpeuch
49a89c301b Separate out PreviewResults from Wikidata extension 2018-11-30 19:39:42 +09:00
Antonin Delpeuch
f667a78657 Migrate recent PRs to Jackson 2018-11-30 19:38:52 +09:00
Antonin Delpeuch
142a2d8beb Remove all mentions of org.json in Wikidata extension 2018-11-30 19:38:52 +09:00
Antonin Delpeuch
a4fa1dca77 Update Wikidata extension after removal of org.json from core 2018-11-30 19:38:52 +09:00
Antonin Delpeuch
ebfa591190 Fix WikibaseSchemaTest 2018-11-30 19:23:08 +09:00
Antonin Delpeuch
1c34b237e4 Unify JSON testing in Wikidata extension 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
0698b9c84e Unify JSON testing in Wikidata extension 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
9c788769af Restore JSON property autodetect 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
790b1fbc60 Migrate wikidata extension out of JSONWriter 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
c9620a5d9a Add missing .flush(); .close() on JsonGenerator 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
bd5a8f9ece Fix serialization issues in Wikidata extension 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
1790799bfe Remove Jsonizable interface and write methods 2018-11-30 19:21:21 +09:00
Antonin Delpeuch
36765e7e62 Bump version to 3.2-SNAPSHOT 2018-11-29 11:59:30 +09:00
Antonin Delpeuch
b90e413b40 Set version to 3.1 2018-11-29 10:32:56 +09:00
Antonin Delpeuch
7dd4db1ca1 Fix i18n calls after migration 2018-11-28 23:22:38 +09:00
Antonin Delpeuch
5d51d8a781 Fix warnings rendering i18n in Wikidata extension 2018-11-27 13:56:51 +09:00
Jacky
aea29e19d7
Merge pull request #1860 from OpenRefine/issue1816
Add support for sub-year precisions in Wikidata schema
2018-11-26 21:27:29 -05:00
Antonin Delpeuch
2fa1419862 Increment size of Wikidata edit batch ids 2018-11-24 15:49:15 +00:00
Antonin Delpeuch
bb79125829 Add support for sub-year precisions in Wikidata schema, for #1816 2018-11-24 15:46:24 +00:00
Antonin Delpeuch
6ac821c844 Migrate dictionary loading in extensions 2018-11-21 17:50:49 +00:00
Antonin Delpeuch
10931e1e4d Migrate js to new localization syntax 2018-11-21 17:30:00 +00:00