Fix broken anchor links in BIP 0342, BIP 0022, BIP 0023 #2091

pull EthanHeilman wants to merge 1 commits into bitcoin:master from EthanHeilman:fixlinks changing 3 files +14 −14
  1. EthanHeilman commented at 1:09 am on January 24, 2026: contributor

    At some point github changed how anchor links work. Currently anchor links using the double square bracket format require that the anchor be prepended with user-content-.

    This means that the following link used to work, but doesn’t today

    0 [[bip-0341.mediawiki#design|BIP341]]
    

    The link that works today would be

    0[[bip-0341.mediawiki#user-content-design|BIP341]]
    

    The link still resolves to the page, but just not the anchor so I suspect no one noticed.

    In addition to this it appears that in the past github anchors could have spaces or punction, but that is no longer valid. Spaces are replaced with _ and punction appears to be not included in the anchor.

    I fixed this for BIP 0342, BIP 0022, BIP 0023, but it impacts a good chunk of BIPs. If you want I can change this PR to fix for all the BIPs, but I didn’t want to put in the time to do that in case an editor wanted to make these changes themselves.

    If this PR isn’t useful or the project isn’t interested in fixing this very minor linking issue. Feel free to close this PR.

  2. Fix broken anchor links f87a5a31ec
  3. murchandamus added the label Proposed BIP modification on Jan 25, 2026
  4. murchandamus added the label Bug fix on Jan 25, 2026
  5. murchandamus commented at 11:48 pm on January 25, 2026: contributor
    I was able to verify the issue (original links are broken, new link works in the edited file). Will follow-up in the following days.
  6. murchandamus requested review from murchandamus on Jan 25, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-01-26 07:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me