Menu

#587 Error: Invalid page title ‘’ ?

workingwiki
open
nobody
None
2
2014-08-05
2014-08-05
No

Hi Lee,

could you please take a look? Probably, it is because of a small typo somewhere, but I could figure that out. http://lalashan.mcmaster.ca/theobio/akhmetzhanov/index.php/TumorMeanField14_Suppl/figure_1_Mean-field_dynamics

I have an error message in the middle of my page. Although, if I do a preview only of a subsection "Output", I would not get that error message. So it is somehow connected with the second part of the page.

Thank you in advance

1 Attachments

Discussion

  • Lee Worden

    Lee Worden - 2014-08-05

    Thanks Andrei! It looks like it's failing on the math in the .wikitext file. This is surely my mistake, not yours.

     
  • Lee Worden

    Lee Worden - 2014-08-05

    This has to be related to the work I recently did in [#582]. I'll review what I did there, and why it's failing on this file.

     

    Related

    Bugs: #582

  • Andrei Akhmetzhanov

    but I may be confused with the fact that the same file goes without any error message on another page: http://lalashan.mcmaster.ca/theobio/akhmetzhanov/index.php/TumorMeanField14_Suppl

     
    • Lee Worden

      Lee Worden - 2014-08-05

      Interesting! Maybe the bug is related to the fact it's in a source-file tag on one page, and a project-file tag on the other. Still working on the source-file version. Please don't be alarmed if the wiki behaves a little strangely while I'm working.

       
      • Andrei Akhmetzhanov

        I noticed that it works without any error messages now. Cool

        Just a notion: actually, it was not the project-file tag on the other page rather than <source-file project="YY/" filename="XX">. Recently I have a very small dispute with Jonathan about the right to use <source-file ...=""> tag vs. <project-file ...=""> tag, when I want to show the source-file on the other page</project-file></source-file></source-file>

         
        • Lee Worden

          Lee Worden - 2014-08-05

          Interesting! I didn't know anyone was using empty source-file tags. I'm not sure but it might be slightly more efficient, by using the file content directly from its storage in the wiki, where the project-file tag writes it into the working directory and then retrieves it from there. I could find out for sure whether it does that if you want.

           
          • Andrei Akhmetzhanov

            It's good that you are not very against.

            I also use <source-file ...=""> if I want to display a source-file from Image:...-space</source-file>

             
  • Lee Worden

    Lee Worden - 2014-08-05

    Notes to self.

    I've taught WWStorage::retrieve_page to be smarter about using already cached page text. That got WW to stop saying page title '' is invalid. Instead I get an inappropriate error message about "Removed missing source file" from the standalone project that manages the inline math.

    Next issue is that it seems to be caching the original .wikitext file content correctly, under the special page name "" as in [#582]; but it runs parse_inlines() to replace $$x y z$$ by <source-file filename=9845982749.tex-math standalone=yes>x y z</source-file>, and the improved wikitext is cached under the name of the current wiki page when it should be cached under "". Solution: call parse_inlines() myself before passing it to the parser. That doesn't resolve the "removed missing" thing though. Still investigating...

     

    Related

    Bugs: #582

    • Lee Worden

      Lee Worden - 2014-08-05

      replace_inlines(), rather. Shifted to calling it slightly earlier, and the wikitext seems to be parsing correctly now.

      The code is messy though, and I think it's caching things in the wrong places some of the time - all I've done here is to get it to also cache them in the right places... need to come back and fix this up at some point.

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.