Menu

#408 Warnings on standalone files on redirected pages

workingwiki
open
None
5
2013-12-08
2013-09-19
Anonymous
No

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.

1 Attachments

Related

Bugs: #409
Bugs: #410

Discussion

  • Lee Worden

    Lee Worden - 2013-09-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -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.  See attached screenshot.    
    +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.
    
     
  • Lee Worden

    Lee Worden - 2013-10-19
    • status: open --> closed
     
  • Lee Worden

    Lee Worden - 2013-10-19

    With my fixes to [#409], I think this is fixed - at least I'm not reproducing it now.

     

    Related

    Bugs: #409

  • Lee Worden

    Lee Worden - 2013-12-03
    • summary: Another "unclear which project to add to" problem --> Warnings on standalone files on redirected pages
    • status: closed --> open
     
  • Lee Worden

    Lee Worden - 2013-12-03

    Looks like this is still happening.

     
  • Lee Worden

    Lee Worden - 2013-12-08

    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...

     
  • Lee Worden

    Lee Worden - 2013-12-08

    (I could also just tell it to never complain about standalones, but the bug would still be there for other files on redirect pages.)

     

Anonymous
Anonymous

Add attachments
Cancel