Skip to content

Releases: bonk-dev/arch-translator

v2.0.3

29 May 09:52
9fe9244
Compare
Choose a tag to compare

Changelog

  • The scanner now uses the existing content on "Edit" pages and the English content on "Create" pages (since these are blank at first);
  • Filter out localized redirects from scanning;
  • Ignore interlanguage links in the page content - subject to improvement.

Full Changelog: v2.0.2...v2.0.3

v2.0.2

28 May 21:59
267a62a
Compare
Choose a tag to compare

The translated articles scanner was crashing when there were more than 50 links on a page (the API has a hard limit of 50 pages per query).

Changelog:

  • the articles scanner now fetches 50 pages per 1 network request - fixing the crash

Full Changelog: v2.0.1...v2.0.2

v2.0.1

27 May 11:27
16f7b41
Compare
Choose a tag to compare

Changelog:

  • do not show "Copy revision ID" on creation pages (or non-existing read pages),
  • fetch (without using the cache) latest revision ID alongside the page content when creating a new translation,
  • do not run the workers when the current page is not a translation,
  • MediaWiki API code refactoring.

Full Changelog: v2.0.0...v2.0.1

v2.0.0

24 May 13:33
4fda50a
Compare
Choose a tag to compare

The script has been rewritten in TypeScript, because the original 1.0.x version was getting too big and tough to maintain.
It does not require any dependencies (excluding the dev ones, which are not present in the final build).

Changelog

  • the code was refactored and split up into multiple files
  • the script is built using esbuild
  • the "translated articles" list was replaced by a table
  • info about translated articles is not being cached (for now)
  • the translated articles scanner is now using the MediaWiki API instead of parsing raw contents of pages - speeding it up by a lot
  • caching and settings are now handled by IndexedDB (not by localStorage)
  • missing language infos were added