Git Product home page Git Product logo

Comments (5)

Abbe98 avatar Abbe98 commented on August 17, 2024

Thanks for reporting, this is a rare case where the article has no images at all resulting in the images field not being included in the API response.
https://en.wikipedia.org/w/api.php?action=query&format=json&prop=images%7Ccoordinates&imlimit=500&generator=geosearch&redirects=1&colimit=500&ggscoord=51%7C-1&ggsradius=10000&ggslimit=50&ggsprimary=primary

This results in the article being skipped, I will be deploying a patch later this week.

from articles-by-lat-lon-without-images-service.

nicolas-raoul avatar nicolas-raoul commented on August 17, 2024

Thanks for the prompt answer!
Please let me know when the fix is live, I will try again then :-)

from articles-by-lat-lon-without-images-service.

Abbe98 avatar Abbe98 commented on August 17, 2024

Planed on 09/11
https://github.com/Abbe98/open-source-sprints/projects/1?fullscreen=true

from articles-by-lat-lon-without-images-service.

Abbe98 avatar Abbe98 commented on August 17, 2024

The following request includes the article
http://127.0.0.1/articles-by-radius-without-images-service/index.php?wiki=en&lat=51&lon=-1&radius=10000&reencode=true

this one does not:
http://tools.wmflabs.org/articles-by-lat-lon-without-images/index.php?wiki=en&lat=51&lon=-0.1&radius=10000&reencode=true

It's excluded by the Mediawiki API in the second case(generator=geosearch), I'm not sure why but I will report it upstream.

from articles-by-lat-lon-without-images-service.

nicolas-raoul avatar nicolas-raoul commented on August 17, 2024

Thanks! Please post the upstream issue URL here when you have reported it. Cheers! :-)

from articles-by-lat-lon-without-images-service.

Related Issues (5)

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.