Skip to content

Adapting the upgraded cppreference #51

@myfreeer

Description

@myfreeer

The cppreference website has been upgraded at 17 April 2026, and a lot of changes happened that make this script fail.

  1. Change in image hosting url
    Example page: https://en.cppreference.com/cpp/io, which references an image from https://upload.cppreference.com/mwiki/images/0/06/std-io-complete-inheritance.svg, which is 404 after the upgrade, and correct url is https://upload.cppreference.com/images/0/06/std-io-complete-inheritance.svg
    Affect: Preprocess script would fail to move files from upload.cppreference.com since it's not downloaded
  2. Missing static resources
    Example page: https://en.cppreference.com/cpp/numeric/constants, where favicon, fonts, and images missing, for example https://en.cppreference.com/mwiki/skins/cppreference2/images/navbar-tab.png
    Affect: Preprocess script would fail to move favicon since it's not downloaded
  3. Change in script/style loader layout
    Example page: https://en.cppreference.com/cpp/numeric/constants
    Affect: Preprocess script would fail to convert_loader_name with nonexistant script/styles
  4. Use of external scripts
    Example page: https://en.cppreference.com
    Affect: External script not downloaded, for example https://cdn.jsdelivr.net/ace/1.2.4/noconflict/ace.js also there's a script from static.cloudflareinsights.com that should be excluded.

Not meant to push but to provide some info for future update of the scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions