Commit Graph

  • ac79f421ff Add Ukranian to list of languages for which to fetch translations jrenslin 2022-05-12 16:40:37 +02:00
  • 47226b6538 Fix bug caused by missing handling of different retrieval modes for Wikidata fetcher jrenslin 2022-04-18 20:45:32 +02:00
  • d5b593c334 Expect usage of function setRetrivalMode instead of a GET param for setting retrieval modes in NodaWikidataFetcher jrenslin 2022-04-18 13:19:00 +02:00
  • 7ff986bdd8 Add function getPersinstIDByNodaLink for getting actor IDs by their noda IDs in NodaIDGetter jrenslin 2022-04-16 23:05:36 +02:00
  • 7dde870afb Improve type-safety of wikidata fetcher jrenslin 2022-04-13 00:16:05 +02:00
  • e91dfbf3ef Add tests for splitting common historical month names jrenslin 2022-04-12 23:47:08 +02:00
  • 3ed218fbac Add tests for class NodaUncertaintyHelper jrenslin 2022-04-02 19:34:16 +02:00
  • e9309c7584 Add phpstan config jrenslin 2022-04-02 19:34:00 +02:00
  • 3f26666123 Extend lists of uncertainty prefixes and suffixes jrenslin 2022-04-02 19:31:53 +02:00
  • ad6b4728f5 Add "vermutlich" to list of uncertainty prefixes for actors jrenslin 2022-04-02 15:56:26 +02:00
  • 885f05a2d3 Add "unbekannter Künstler" to list of disallowed actor names jrenslin 2022-04-01 21:12:37 +02:00
  • ab11e30d59 Add "verm." to list of signifiers for uncertain time names jrenslin 2022-03-31 18:05:19 +02:00
  • 8689d2f45f Add some German uncertainty prefixes for time jrenslin 2022-03-31 15:45:03 +02:00
  • 7379d768df Allow logging updates to logged import concordances jrenslin 2022-03-31 14:34:20 +02:00
  • f7e49e67a0 Add function for getting time IDs by their logged import concordances jrenslin 2022-03-31 14:33:03 +02:00
  • 2912b4a206 Add "ohne Jahr" (no year) to list of disallowed time names jrenslin 2022-03-30 16:14:28 +02:00
  • b3f7845023 Handle Jhdt as a form of century in time splitter jrenslin 2022-03-12 19:32:28 +01:00
  • 3001976b1b Merge branch 'master' of gitea:museum-digital/MDNodaHelpers jrenslin 2022-03-05 13:58:57 +01:00
  • 6347de2635 Validate Wikidata IDs before attempting to fetch from Wikidata jrenslin 2022-03-05 13:58:18 +01:00
  • a7a9da4718 Add "Dinge" and "Objekt" to list of blacklisted tags jrenslin 2022-02-27 22:26:46 +01:00
  • b1bd14bc56 Add functions for checking if places or actor names are blacklisted jrenslin 2022-02-18 22:09:26 +01:00
  • e877e4edf1 Add "wohl" and "vermutlich" as uncertainty specifiers for places jrenslin 2022-02-18 16:33:46 +01:00
  • 39c7585e91 Merge branch 'master' of gitea:museum-digital/MDNodaHelpers jrenslin 2022-02-06 23:30:55 +01:00
  • c52550c789 Extend NodaNameGetter with functions for getting single entries' correct place, tag, time, and actor names jrenslin 2022-02-06 23:30:22 +01:00
  • 747a516a49 Add class NodaMailChecker for checking mail address validity and caching that jrenslin 2022-02-05 01:32:06 +01:00
  • a4be5e876c Add tól to list of handled suffixes in NodaTimeSplitter jrenslin 2022-02-04 02:49:44 +01:00
  • d28618bb14 Try / catch invalid dates in NodaTimeSplitter jrenslin 2022-02-03 21:12:54 +01:00
  • 09a5096588 Remove superfluous check for yet undescribed external noda repos jrenslin 2022-01-18 00:48:32 +01:00
  • e7f1515227 Use strict comparisons in NodaWikidataFetcher in remaining places jrenslin 2022-01-16 15:18:04 +01:00
  • 03330a933c Add "sonstiges" to tag blacklist jrenslin 2022-01-13 18:46:51 +01:00
  • 9132745631 Fix bug in time splitter, make code more explicit jrenslin 2022-01-09 22:19:22 +01:00
  • 109f18e63c Use a more explicit !empty for checking string contents jrenslin 2022-01-08 14:15:51 +01:00
  • 52a90d669c Validate geonames and TGN IDs fetched from Wikidata jrenslin 2021-12-14 15:40:07 +01:00
  • 20f609f6d0 Use integers for geonames and TGN IDs jrenslin 2021-12-14 15:38:44 +01:00
  • 93cd09ed23 Fix bug in preventing impossible noda relations jrenslin 2021-12-12 03:36:23 +01:00
  • 340bfac96c Prevent attempts to write link noda repositories for the incorrect linkable types (e.g. iconclass for places) jrenslin 2021-12-11 15:33:31 +01:00
  • 4a26ab60ca Fix missing URL prefix for iconclass jrenslin 2021-12-11 15:15:31 +01:00
  • e00dd08c23 Use ON DUPLICATE KEY update instead of checking value existence with a separate query jrenslin 2021-12-11 01:29:48 +01:00
  • 9471a030d5 Remove disabled noda repositories to link jrenslin 2021-12-11 01:19:57 +01:00
  • 97341cd466 Reduce number of entries synced into manticore per commit jrenslin 2021-12-09 02:11:40 +01:00
  • 5dc2ef0862 Fix bug in removing entries by ID (wrong ID column name) jrenslin 2021-12-09 00:08:56 +01:00
  • 55b2b61ef7 Add classes for syncing fulltext indexes in manticore, not mysql directly jrenslin 2021-12-08 23:00:58 +01:00
  • 24714265c2 Prevent error if wikidata doesn't return a search result jrenslin 2021-11-30 17:53:24 +01:00
  • ea280fc144 Add non-empty-string phpdoc types to NodaWikidataFetcher jrenslin 2021-11-29 22:31:17 +01:00
  • 0ab6f5e608 Add "Anonym" and "Anonymus" to list of disallowed actor names jrenslin 2021-11-21 01:39:57 +01:00
  • 054dc731f1 Disable libxml errors when parsing Wikipedia information jrenslin 2021-11-18 23:53:11 +01:00
  • d0c4bfcf1f Add more blacklisted tag names (e.g. "weitere", "other") jrenslin 2021-10-16 19:27:43 +02:00
  • cd3f27e5db Remove superfluous newlines jrenslin 2021-10-11 15:12:59 +02:00
  • 99a5303773 Merge branch 'master' of gitea:museum-digital/MDNodaHelpers jrenslin 2021-10-10 13:22:44 +02:00
  • 790dcd92fa Add [vermutlich] to list of uncertainty suffixes for actors jrenslin 2021-10-10 13:22:13 +02:00
  • 581d9c7079 Use "d" for coordinates fetched through wikidata, remove useless parentheses jrenslin 2021-10-10 12:32:55 +02:00
  • edbe0230af Add "research_note" to list of accepted edited sections in noda edit log jrenslin 2021-10-09 14:10:10 +02:00
  • ca7424b043 Add NodaNameGetter for batch retrieval of names jrenslin 2021-09-16 01:09:10 +02:00
  • fe31a29159 Add "vermtl. " to list of uncertainty prefixes jrenslin 2021-08-27 18:50:51 +02:00
  • fb327762dc Add capability to split english decade terms (1920s) jrenslin 2021-08-27 16:19:19 +02:00
  • bb4e2a727a Add "c. " to list of uncertainty prefixes jrenslin 2021-08-27 15:24:50 +02:00
  • 7d89596286 Add option to save edits to name variants (for actors) in edit log jrenslin 2021-08-19 12:23:08 +02:00
  • a0b6207f81 Add missing htmlspecialchars in Wikidata results list jrenslin 2021-08-15 20:03:25 +02:00
  • 6d60d9eec7 Significantly extend the timeout for SPARQL queries to Wikidata jrenslin 2021-08-13 13:07:29 +02:00
  • 87fd2a25df Add functions for identifying Wikidata IDs by external IDs jrenslin 2021-08-12 15:33:48 +02:00
  • 8eb576f43d Extend list of known genders to parse from Wikidata jrenslin 2021-08-12 13:59:20 +02:00
  • aa9f307c55 Expect minimized JS file in injecting js to wikidata results pages jrenslin 2021-08-10 14:35:25 +02:00
  • 0167890147 Add option to inject JS on wikidata results lists jrenslin 2021-08-08 17:38:21 +02:00
  • e773bab7ce Allow a special wikidata results list for actors, making suggestions based on birth and death dates jrenslin 2021-08-07 17:38:49 +02:00
  • e69be5b2b1 Use === over == in more cases jrenslin 2021-07-24 23:21:00 +02:00
  • d269b6644b Extend blacklist of disallowed tag names jrenslin 2021-07-14 22:01:46 +02:00
  • 0f2f7b2787 Add the different variants of "verschiedenes" ("various" in German) to tag blacklist jrenslin 2021-07-14 21:58:14 +02:00
  • 7e27f15515 Remove specific blacklist file for tags jrenslin 2021-07-14 13:46:27 +02:00
  • f930ca794e Add a list of blacklisted tags jrenslin 2021-07-14 13:37:18 +02:00
  • 0fa759c604 Add check against empty wikidata / wikipedia descriptions jrenslin 2021-07-06 12:50:33 +02:00
  • fba4706b67 Add check against empty source ID in references to controlled vocabularies in wikidata fetcher jrenslin 2021-07-06 12:15:31 +02:00
  • af13f747b7 Allow listed and searched Wikidata entries to be without descriptions jrenslin 2021-07-03 15:18:02 +02:00
  • c56ae6ce66 Merge branch 'master' of gitea:museum-digital/MDNodaHelpers jrenslin 2021-07-01 15:36:55 +02:00
  • 3a5790853c Add ", um" to the list of suffixes to indicate a time entry being uncertain jrenslin 2021-07-01 15:35:18 +02:00
  • bd3851ccf4 Use separate function for generating overview lists in NodaWikidataFetcher jrenslin 2021-06-30 22:55:37 +02:00
  • 2c0d8e041e Add "nicht benannt" to list of unwanted place and actor names jrenslin 2021-06-30 14:36:11 +02:00
  • 062c0d12dc Extend list of known unwanted actor names jrenslin 2021-06-29 15:37:05 +02:00
  • 7bd315aa0c Add "ism." as a shorthand for ismeretlen to list of disallowed place name jrenslin 2021-06-29 13:50:09 +02:00
  • b6b2bbccff Extend list of empty place names to remove jrenslin 2021-06-18 23:30:03 +02:00
  • d244065dbe Update base update time of places when editing a place jrenslin 2021-05-27 02:33:51 +02:00
  • ce453a3d69 Allow noda_link as a loggable section in NodaLogEdit jrenslin 2021-05-27 00:35:15 +02:00
  • a50610b640 Fix wrong table name jrenslin 2021-05-27 00:34:56 +02:00
  • bc3f2a94d6 Add function for getting tags by base name, log base edits for tags in NodaLogEdit jrenslin 2021-05-26 22:36:02 +02:00
  • a4f24e5478 Add logging of synchronization with wikidata jrenslin 2021-05-26 17:12:15 +02:00
  • 8a30cf2c2a Add class NodaLogEdit for easily logging updates to the main noda tables jrenslin 2021-05-26 16:24:20 +02:00
  • 6a91e31f41 Improve handling of timespans jrenslin 2021-05-13 23:00:23 +02:00
  • 2a8ba31410 Import place hierarchy from Wikidata jrenslin 2021-05-11 01:37:49 +02:00
  • 874cfb8a6f Extend time splitter to handle e.g. "17./18. Jh." jrenslin 2021-05-07 16:25:50 +02:00
  • db6953ca51 Move syncers to src/Sync subdirectory jrenslin 2021-05-06 23:37:31 +02:00
  • 74caf06280 Use lowercase typing for instanceof > instanceOf jrenslin 2021-05-06 23:34:55 +02:00
  • c84e3401ff Add classes for keeping the fulltext (search) tables in sync jrenslin 2021-05-06 23:24:43 +02:00
  • 041d3598eb Allow using Wikidata links for fetching information for actors jrenslin 2021-05-05 01:26:32 +02:00
  • 6dcdb3aff6 Add function for assembling display names by given name and family name jrenslin 2021-05-04 23:57:30 +02:00
  • bde3c2cb9e Add a class NodaNameSplitterTest, for now splitting names into given name and family name jrenslin 2021-05-04 23:04:41 +02:00
  • 1dd05a3822 Add blacklist for unwanted tag names jrenslin 2021-04-25 00:16:53 +02:00
  • 9157e8a0f1 Add fix for empty noda references in fetching tags from Wikidata jrenslin 2021-04-24 01:13:27 +02:00
  • e1a9a99797 Use ++$i over $i++ outside of loops in Wikidata fetcher jrenslin 2021-04-12 12:54:07 +02:00
  • 792754c20c Fetch orcid IDs in wikidata fetcher jrenslin 2021-04-07 11:33:49 +02:00
  • e957db4210 Add condition to split times like "xxxx bis yyyy" jrenslin 2021-03-26 12:32:27 +01:00
  • c964053c91 Add function for reading Wikidata ID from a Wikipedia page jrenslin 2021-03-18 01:23:45 +01:00