Warnings on standalone files on redirected pages
Status: Beta
Brought to you by:
worden
See attached picture. This is a page that's been moved, so that the old page location is a redirect. When I view it via the old URL, WW complains that it's unclear which project to add the standalone .tex-math files to. This should not happen. Those should invisibly manifest in unique projects, one per file, and the viewer should never be bothered about them.
Anonymous
Diff:
With my fixes to [#409], I think this is fixed - at least I'm not reproducing it now.
Related
Bugs:
#409Looks like this is still happening.
I looked around when I was in WWInterface::render_after_parsing() for another purpose, which is where those warnings and questions come from. I don't think it'd be hard to fix - just notice when you're on a page that redirects to the page on record. It's not obvious how to do that, though. I think the WikiPage class is the one that knows what the page's redirect target is - at least in recent MW, because that class didn't exist before 1.19 or so. So I'd have to implement two fixes, one for current wikis and one for old wikis. I guess I could just fix it for new wikis and leave old ones broken, since they're going away...
(I could also just tell it to never complain about standalones, but the bug would still be there for other files on redirect pages.)