Page MenuHomePhabricator

PDF print is instead Special:Book
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The page links to an error page of Special:Book.

realglitch.PNG (3,840×2,160 px, 183 KB)

What should have happened instead?:
It should have to a print page that allows you to print that specific revision as a PDF file. The alternative is to simply have that button not exist when viewing old revisions, similar to other wikis. It’s very interesting that this only appears to be a problem on Wikipedia specifically.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
I somehow managed to access the book creator through this method, though I can’t seem to replicate that.

Event Timeline

Seems similar to T306232: "Download as PDF" on an old revision goes to Special:Book rather than Special:DownloadAsPdf; although that task had a patch merged for it in August 2024, so I don't know whether it should have been marked as resolved (and, if so, whether this is a Regression)? /cc @TheDJ

I haven't looked at this for a while, so I can't determine of the top of my head.
The whole logic is a bit dodgy, so it might be that something new broke. The old ticket probably wasn't marked as resolved because people were still concerned about the FlaggedRevs case.