Coder Social home page Coder Social logo

Comments (7)

gnosygnu avatar gnosygnu commented on September 16, 2024

Hi! Thanks for the report! It made complete sense (the URL is the most important part).

The problem is the part starting with "<do something> else" . <do> is an extension for Wikivoyage and "eats up" the rest of the content if it's unclosed. You can see something similar at https://en.wikivoyage.org/w/index.php?title=Wikivoyage:Graffiti_wall&action=submit and previewing the following code:

the code:

<code>if <complex test> then <do something> else <generate type error></code>

Even if the expression <code><complex test></code> always evaluates to <code>true</code> at run-time, most type-checkers will 

By default, XOWA loads all extensions for all wikis. It really should disable the <do> extension for English Wikipedia (just like the online version). I've been working on this change for all wikis, but probably won't have it until next week. I'll try to get in a limited patch (ignore <do> in English Wikipedia) in the meantime.

Also, whenever the fix is released, I like to credit users for reporting bugs. There'll be a line in the changelog with something like "Do not load all extensions for each wiki {detected by anonymous}". Let me know if you prefer a nickname or would rather remain anonymous.

I'll post more in this thread when I have a fix. Thanks!

from xowa.

gnosygnu avatar gnosygnu commented on September 16, 2024

Also, as a simple workaround, you can Edit the page, change "<do" to "&lt;do" and save it. This will cause the rest of the page to show correctly.

Hopefully there'll just be a few pages with "<do" on them.

from xowa.

bmihai avatar bmihai commented on September 16, 2024

Hi gnosygnu! Thank you for the great in-depth reply. Looking forward to the fix. I tried the quick workaround and it fixed it. I didn't know you could edit pages, either!

I don't feel worthy of a mention but "bmihai" would be fine. I promise to be more conscientious about bug reports to earn it. Thanks for being so consistently great to your users! :)

from xowa.

gnosygnu avatar gnosygnu commented on September 16, 2024

I tried the quick workaround and it fixed it.

Cool! Thanks for the follow-up

I didn't know you could edit pages, either!

Yup, I think that's one of the unique features of XOWA

I don't feel worthy of a mention but "bmihai" would be fine.

Of course you absolutely deserve it! "bmihal" it is.

I promise to be more conscientious about bug reports to earn it. Thanks for being so consistently great to your users! :)

No need. Your bug report was great.

Thanks again!

from xowa.

gnosygnu avatar gnosygnu commented on September 16, 2024

This was fixed in tonight's v2.10.2 release. Thanks again for the report!

from xowa.

bmihai avatar bmihai commented on September 16, 2024

Thank you!

from xowa.

gnosygnu avatar gnosygnu commented on September 16, 2024

No problem. All thanks belong to you! :)

from xowa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.