JJMC89 <jjmc89.wikimedia@gmail.com> ezt írta (időpont: 2023. máj. 12., P, 1:12):
There isn't a way to instantiate `Page` from an id.

But perhaps should be. Title is not always good for restoring the same page.

Your page id is 1. Sb. renames it – the actual article will have other title with id 1, the redirect page the old title with new id. However, you cannot be sure that the redirect leads to the old page at any time! While manually check the logs is simply, to create an algorithm that finds the original is very complicated.

The other case is deletion and recreation, that is not a big problem.

So I think page from id is a legal use case.