From bd932f9495c9d86f2e54d607a4b20455f79b2a45 Mon Sep 17 00:00:00 2001 From: David Anson Date: Thu, 18 Jun 2026 20:23:36 -0700 Subject: [PATCH] Add wikipedia.org to linkinator exclusion list due to regular HTTP 429 responses, remove "en." prefix from all Wikipedia links, switch Checkers workflow from linkinator-action to linkinator. --- .github/workflows/checkers.yml | 5 +---- CONTRIBUTING.md | 2 +- dist/index.mjs | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checkers.yml b/.github/workflows/checkers.yml index a3edca6..e66a970 100644 --- a/.github/workflows/checkers.yml +++ b/.github/workflows/checkers.yml @@ -15,10 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: JustinBeckwith/linkinator-action@v2 - with: - paths: '*.md' - timeout: 60000 + - run: 'npx linkinator "*.md" --directory-listing --skip "^https://wikipedia.org/"' spellcheck: runs-on: ubuntu-latest diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d51ad6..b44d164 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,7 +46,7 @@ incorporate code from other projects is not allowed. Thank you! -[example-com]: https://en.wikipedia.org/wiki/Example.com +[example-com]: https://wikipedia.org/wiki/Example.com [github-issues]: https://github.com/DavidAnson/markdownlint-cli2/issues [linking-pull-request]: https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword [version-pinning]: https://dlaa.me/blog/post/versionpinning diff --git a/dist/index.mjs b/dist/index.mjs index 6a33f2a..1dcd491 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -77234,7 +77234,7 @@ function charFromCodepoint(c) { return String.fromCharCode(c); } // Encode UTF-16 surrogate pair - // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF + // https://wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF return String.fromCharCode( ((c - 0x010000) >> 10) + 0xD800, ((c - 0x010000) & 0x03FF) + 0xDC00