Skip to content

script: catch relative BIP links in mediawiki files - #2282

Merged
murchandamus merged 1 commit into
bitcoin:masterfrom
kriss39:fix/mediawiki-relative-link-check
Sep 11, 2026
Merged

script: catch relative BIP links in mediawiki files#2282
murchandamus merged 1 commit into
bitcoin:masterfrom
kriss39:fix/mediawiki-relative-link-check

Conversation

@kriss39

@kriss39 kriss39 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The current MediaWiki link check misses a few Markdown-style relative BIP links, for example:

  • [text](bip-0340.mediawiki)
  • [text](./bip-0340.mediawiki)
  • [text](../../bip-0340.mediawiki)

Because of that, these links can pass CI even though they use Markdown syntax inside a .mediawiki file.

This updates the existing regex so relative BIP links are caught consistently, including ./, ../, deeper parent paths, and root-relative paths.

Valid MediaWiki links are unaffected.

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 43bd57b

LGTM

@murchandamus
murchandamus merged commit b8a6144 into bitcoin:master Sep 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants