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.

This commit is contained in:
David Anson
2026-06-18 20:23:36 -07:00
parent 350c6d52dd
commit bd932f9495
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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