Skip to content

Unavailable /mwiki/index.php page #47

Open

Description

@b0ae989c

It seems CppRef has turned to DuckDuckGo for searching, and the page https://en.cppreference.com/mwiki/index.php is no longer available. Should we update the build target source and remove the following step?

./export.py --url=https://en.cppreference.com/mwiki reference/cppreference-export-ns0,4,8,10.xml 0 4 8 10

Activity

  1. PeterFeicht commented on Jun 4, 2025

    @PeterFeicht
    Owner

    I have no idea what that's for, I'll take a look.

  2. intractabilis commented on Dec 4, 2025

    @intractabilis

    I observe the same problem

    FINISHED --2025-12-03 21:18:33--
    Total wall clock time: 6m 6s
    Downloaded: 8061 files, 469M in 1m 1s (7.63 MB/s)
    ./export.py --url=https://en.cppreference.com/mwiki reference/cppreference-export-ns0,4,8,10.xml 0 4 8 10
    Traceback (most recent call last):
      File "/somewhere/cppreference-doc/./export.py", line 94, in <module>
        main()
        ~~~~^^
      File "/somewhere/cppreference-doc/./export.py", line 84, in main
        new_pages = retrieve_page_names(args.url, ns_index)
      File "/somewhere/cppreference-doc/./export.py", line 45, in retrieve_page_names
        with urllib.request.urlopen(url) as f:
             ~~~~~~~~~~~~~~~~~~~~~~^^^^^
      File "/usr/lib/python3.13/urllib/request.py", line 189, in urlopen
        return opener.open(url, data, timeout)
               ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/urllib/request.py", line 495, in open
        response = meth(req, response)
      File "/usr/lib/python3.13/urllib/request.py", line 604, in http_response
        response = self.parent.error(
            'http', request, response, code, msg, hdrs)
      File "/usr/lib/python3.13/urllib/request.py", line 533, in error
        return self._call_chain(*args)
               ~~~~~~~~~~~~~~~~^^^^^^^
      File "/usr/lib/python3.13/urllib/request.py", line 466, in _call_chain
        result = func(*args)
      File "/usr/lib/python3.13/urllib/request.py", line 613, in http_error_default
        raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 500: Internal Server Error
    make: *** [Makefile:243: source] Error 1
    
  3. PeterFeicht commented on Dec 4, 2025

    @PeterFeicht
    Owner

    Actually I'm currently working on that. There seem to be multiple issues caused by the current read-only mode of the site. I'll have some fixes hopefully later this week (along with a new release).

  4. self-assigned this
    on Dec 4, 2025
  5. PeterFeicht commented on Dec 9, 2025

    @PeterFeicht
    Owner

    I fixed most of the issues but missed some links for images that currently 404 on the main site, which wget didn't adjust (because it couldn't download the files). So the current master commit is bad, although one would need to manually copy images from a previous release anyway.

    I'll get to that the next few days...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions