Greasy Fork is available in English.

Wikidata Episode Generator

Creates QuickStatements for Wikidata episode items from Wikipedia episode lists

Ezek a szkript azon változatai, ahol a kód módosítva lett. Minden verzió mutatása

  • v0.13.1 2024.03.25.

    match if episode numbers fuzzy match and next to each other, fixes

  • v0.13.0 2023.11.16.

    faster loading of seasons, fixed IMDb requests, better detection of double episodes, small changes

    get title using mw; combine wikipedia season article requests; revise detection of double episodes; ignore references in production codes; get publication date of original country instead of the earliest; fix IMDb episode request after changes at IMDb; make cachedLinks nullsafe

  • v0.12.1 2023.10.25.

    Rewrite loading of Wikidata items to Wikipedia links, fix followed by

    Load the Wikidata items of 50 articles at one, instead of a request for every article, "followed by" needs to be checked by the last episode

  • v0.12.0 2023.10.25.

    Only add properties if there are none

    If the properties are already set, they are not written, no matter what their content is. Except for P57 and P58 where the content of the existing properties is checked and only missing items are added

  • v0.11.0 2023.10.19.

    add follows and followed by if episodes already exist

  • v0.10.4 2023.10.19.

    set correct episode link; add puplication date of fuzzy matched episodes

    Fix too inaccurate matching of the episode link, if parts of the episode title exist as wiki articles, that were mentioned on the episode list. Add the german publication date of fuzzy matched episodes.

  • v0.10.3 2023.06.20.

    fix sitelinks conversion to wikidata items

  • v0.10.2 2023.05.19. filter out unmatched wikilinks
  • v0.10.1 2023.04.18. support Template:Visible anchor
  • v0.10.0 2023.03.17. check if wikidata item of episode list exists, add sitelink to episodes
  • v0.9.7 2022.07.12. add to console, check if fs data exists
  • v0.9.6 2022.06.01. ot parsing, save fsid in qs, parse "part one"/"part two"
  • v0.9.5 2022.05.25. more detailed error message for missing properties
  • v0.9.4 2022.05.18. prevent cached responses, unify sparql requests
  • v0.9.3 2022.05.13. fix
  • v0.9.3 2022.05.13. ignore specials and alternative titles
  • v0.9.2 2022.05.13. unescape ' in title
  • v0.9.1 2022.05.09. support only some seasons missing
  • v0.9.0 2022.05.06. rewrite season detection, references, reporting get season by section title, report season errors, don't add long references when adding to existing properties, report errors for undefined values, better parsing of start date template
  • v0.8.2 2022.05.04. enhancements on parsing episode parts, minor fixes normalize titles when getting them, parse roman numbers of episode parts, match imdb episode parts variants, match with first best levenshteinDistance, use pathname instead of href to exclude matching anchors
  • v0.8.1 2022.05.03. ignore diacritics when comparing titles
  • v0.8.0 2022.04.19. get more wikilinks, get all directors and writers get wikilinks of lemmas with parenthetical disambiguation, get all directors if they are shown as DirectedBy_1 and DirectedBy_2
  • v0.7.0 2022.04.14. get German publication date from Fernsehserien.de
  • v0.6.3 2022.04.06. remove source from "is a" statement
  • v0.6.3 2022.04.06. remove source from "is a" statement, add warning and link to QuickStatements see https://www.wikidata.org/wiki/Help:Sources/Items_not_needing_sources
  • v0.6.2 2022.03.31. document source of information, remove date from reference
  • v0.6.2 2022.03.30. improve source, support other episode list formats, correct place of publication add version link and date to source, support episode lists without new lines, support episode lists with different template start, add place of publication by wikidata series item
  • v0.6.0 2022.03.24. create seasons, add production code create statements for seasons if missing, add seasons to series if missing, add production code if existing
  • v0.5.7 2022.03.18. detect more horizontal lines, more robust episode number parsing for matching
  • v0.5.6 2022.03.16. Imported from URL
  • v0.5.5 2022.03.15. fallback for episode number, correct prompt text
  • v0.5.4 2022.03.14. improve episode title comparison
  • v0.5.3 2022.03.12. correct behavior on missing screenwriter/director, get date with aditional parameter
  • v0.5.2 2022.03.10. Imported from URL
  • v0.5.1 2022.03.09.

    remove wait time, logging fuzzy matches IMDb

  • v0.5.0 2022.03.09.

    remove director/writer duplicates, get existing Wikidata items without Wikipedia article, cache Wikipedia links, document matching of episodes

  • v0.4.1 2022.03.09.

    don't add part on episodes with double numbers

  • v0.4.0 2022.03.08.

    get correct label if it includes part or article link, don't save empty titles, prompt user for potential fuzzy matches, get all season articles if they are embedded in the article, use correct season number for fuzzy matches if using season article, don't use double episode articles, correct behaviour for two episodes in one column

  • v0.3.0 2022.03.07.
  • v0.2.3 2021.11.18.

    support DirectedBy_1/_2 partially

  • v0.2.2 2021.10.18.

    fix sort by series ordinal, fix don't change description if already existing

  • v0.2.1 2021.10.16.

    get start date if lowercase, get series by wikidata, not by title, don't add description if already existing item

  • v0.2.0 2021.10.14.

    order seasons by series ordinal, correct season if script is used on season article, prompts for missing data, connect to wikidata id for existing episode articles, correct titles if episode article exists

  • v0.1.1 2021.10.13.

    ignore episodes with errors

  • v0.1.0 2021.09.30.