Skip to content

Commit 098e323

Browse files
committed
Add wikipedia.org to linkinator exclusion list due to regular HTTP 429 responses, remove "en." prefix from all Wikipedia links.
1 parent 5f98a7c commit 098e323

23 files changed

Lines changed: 43 additions & 43 deletions

.github/workflows/checkers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v6
16-
- run: 'npx linkinator "*.md" "doc/*.md" "helpers/*.md" --directory-listing --skip "^https://github.com/.*/search\?q=" --skip "^https://www.jwz.org/"'
16+
- run: 'npx linkinator "*.md" "doc/*.md" "helpers/*.md" --directory-listing --skip "^https://github.com/.*/search\?q=" --skip "^https://www.jwz.org/" --skip "^https://wikipedia.org/"'
1717

1818
spellcheck:
1919
runs-on: ubuntu-latest

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Thank you!
8484
[closing-keywords]: https://help.github.com/articles/closing-issues-using-keywords/
8585
[custom-rules]: doc/CustomRules.md
8686
[dependencies]: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#dependencies
87-
[example-com]: https://en.wikipedia.org/wiki/Example.com
87+
[example-com]: https://wikipedia.org/wiki/Example.com
8888
[micromark]: https://www.npmjs.com/package/micromark
8989
[new-rule]: https://github.com/DavidAnson/markdownlint/labels/new%20rule
9090
[npm-scripts]: https://docs.npmjs.com/misc/scripts

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ as well as directives, footnotes, and math syntax - all implemented by
3232

3333
[commonmark]: https://commonmark.org/
3434
[gfm]: https://github.github.com/gfm/
35-
[markdown]: https://en.wikipedia.org/wiki/Markdown
35+
[markdown]: https://wikipedia.org/wiki/Markdown
3636
[markdownlint-ruby]: https://github.com/markdownlint/markdownlint
3737
[micromark]: https://github.com/micromark/micromark
3838
[micromark-extensions]: https://github.com/micromark/micromark?tab=readme-ov-file#list-of-extensions
3939
[nodejs]: https://nodejs.org/
40-
[static-analysis]: https://en.wikipedia.org/wiki/Static_program_analysis
40+
[static-analysis]: https://wikipedia.org/wiki/Static_program_analysis
4141

4242
### Related
4343

@@ -489,7 +489,7 @@ See [.markdownlint.jsonc](schema/.markdownlint.jsonc) and/or
489489
configuration object with all properties set to the default value.
490490

491491
Sets of rules (known as a "style") can be stored separately and loaded
492-
as [JSON](https://en.wikipedia.org/wiki/JSON).
492+
as [JSON](https://wikipedia.org/wiki/JSON).
493493

494494
Example of referencing a built-in style from JavaScript:
495495

@@ -604,7 +604,7 @@ Type: `Array` of `String`
604604
List of files to lint.
605605

606606
Each array element should be a single file (via relative or absolute path);
607-
[globbing](https://en.wikipedia.org/wiki/Glob_%28programming%29) is the
607+
[globbing](https://wikipedia.org/wiki/Glob_%28programming%29) is the
608608
caller's responsibility.
609609

610610
Example: `[ "one.md", "dir/two.md" ]`
@@ -626,9 +626,9 @@ The default value:
626626
/((^---[^\S\r\n\u2028\u2029]*$[\s\S]+?^---\s*)|(^\+\+\+[^\S\r\n\u2028\u2029]*$[\s\S]+?^(\+\+\+|\.\.\.)\s*)|(^\{[^\S\r\n\u2028\u2029]*$[\s\S]+?^\}\s*))(\r\n|\r|\n|$)/m
627627
```
628628

629-
Ignores [YAML](https://en.wikipedia.org/wiki/YAML),
630-
[TOML](https://en.wikipedia.org/wiki/TOML), and
631-
[JSON](https://en.wikipedia.org/wiki/JSON) front matter such as:
629+
Ignores [YAML](https://wikipedia.org/wiki/YAML),
630+
[TOML](https://wikipedia.org/wiki/TOML), and
631+
[JSON](https://wikipedia.org/wiki/JSON) front matter such as:
632632

633633
```text
634634
---

demo/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
markdown.value = [
258258
"## Introduction",
259259
"",
260-
"`markdownlint` is a [Node.js](https://nodejs.org/) style checker and lint tool for [Markdown](https://en.wikipedia.org/wiki/Markdown)/[CommonMark](https://commonmark.org/) files to automatically validate content, prevent rendering problems, and promote consistency.",
260+
"`markdownlint` is a [Node.js](https://nodejs.org/) style checker and lint tool for [Markdown](https://wikipedia.org/wiki/Markdown)/[CommonMark](https://commonmark.org/) files to automatically validate content, prevent rendering problems, and promote consistency.",
261261
"This page offers an easy way to try it out interactively!",
262262
"",
263263
"#### Instructions",

doc-build/md001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ level at a time:
2626
### Another Heading 3
2727
```
2828

29-
If [YAML](https://en.wikipedia.org/wiki/YAML) front matter is present and
29+
If [YAML](https://wikipedia.org/wiki/YAML) front matter is present and
3030
contains a `title` property (commonly used with blog posts), this rule treats
3131
that as a top level heading and will report a violation if the actual first
3232
heading is not a level 2 heading. To use a different property name in the

doc-build/md011.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To fix this, swap the `[]` and `()` around:
1212
[Correct link syntax](https://www.example.com/)
1313
```
1414

15-
Note: [Markdown Extra](https://en.wikipedia.org/wiki/Markdown_Extra)-style
15+
Note: [Markdown Extra](https://wikipedia.org/wiki/Markdown_Extra)-style
1616
footnotes do not trigger this rule:
1717

1818
```markdown

doc-build/md025.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ lower-level headings (h2, h3, etc.):
2323
Note: The `level` parameter can be used to change the top-level (ex: to h2) in
2424
cases where an h1 is added externally.
2525

26-
If [YAML](https://en.wikipedia.org/wiki/YAML) front matter is present and
26+
If [YAML](https://wikipedia.org/wiki/YAML) front matter is present and
2727
contains a `title` property (commonly used with blog posts), this rule treats
2828
that as a top level heading and will report a violation for any subsequent
2929
top-level headings. To use a different property name in the front matter,

doc-build/md026.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ Rationale: Headings are not meant to be full sentences. More information:
2525
[Punctuation at the end of headers][end-punctuation].
2626

2727
[end-punctuation]: https://cirosantilli.com/markdown-style-guide#punctuation-at-the-end-of-headers
28-
[html-entity-references]: https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
28+
[html-entity-references]: https://wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

doc-build/md041.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ in cases where an `h1` is added externally.
4545
Rationale: The top-level heading often acts as the title of a document. More
4646
information: <https://cirosantilli.com/markdown-style-guide#top-level-header>.
4747

48-
[HTML]: https://en.wikipedia.org/wiki/HTML
48+
[HTML]: https://wikipedia.org/wiki/HTML
4949
[RegExp]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions
50-
[YAML]: https://en.wikipedia.org/wiki/YAML
50+
[YAML]: https://wikipedia.org/wiki/YAML

doc-build/md045.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ content of an image for people who may not be able to see it.
3939
[aria-hidden]: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-hidden
4040
[phase2technology]: https://www.phase2technology.com/blog/no-more-excuses
4141
[w3c]: https://www.w3.org/WAI/alt/
42-
[wikipedia]: https://en.wikipedia.org/wiki/Alt_attribute
42+
[wikipedia]: https://wikipedia.org/wiki/Alt_attribute

0 commit comments

Comments
 (0)