Forums definitely shouldn’t abandon useful features like pagination; this is the reason why Twitter and Discord are annoying to use. It should at least be an option, especially when forums are getting popular again.
Social media is designed to keep users engaged rather than provide information or meaningful discussion. Infinite scrolling is designed for – infinite scrolling. It’s for memes, quick takes, and skippable content. Page numbers are designed so that you can remember approximately where something was, or to skip to a specific date.
I should also add: technologies do not become obsolete, it’s more like they become niche technologies.