Giter Site home page Giter Site logo

hatnote / monumental Goto Github PK

View Code? Open in Web Editor NEW
25.0 9.0 8.0 2.76 MB

Reasonator for monuments

Home Page: http://tools.wmflabs.org/monumental/

License: BSD 3-Clause "New" or "Revised" License

JavaScript 56.44% HTML 30.93% CSS 12.63%
wikidata wikidata-search wikipedia glam

monumental's Introduction

Monumental

Reasonator for monuments

monumental's People

Contributors

mahmoud avatar slaporte avatar yarl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monumental's Issues

monumental as API

I was wondering, if there is an option to use monumental as an API?

Internal server error when logging in

When navigating to https://monumental.toolforge.org/#/ and trying to log in with the button in the top right, the following error message appears:

Internal server error
<ExceptionInfo [requests.exceptions.SSLError: HTTPSConnectionPool(host='commons.wikimedia.org', port=443): Max retries exceeded with url: /w/index.php?title=Special%3AOAuth%2Finitiate (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))] (16 frames, last=Callpoint('send', 514, 'requests.adapters', '/data/project/monumental/www/python/venv/local/lib/python2.7/site-packages/requests/adapters.py', 1014, ' raise SSLError(e, request=request)'))>
image

Add WLM-IT points to Monumental map

Is it possible to have WLM-IT monuments on https://maps.wikilovesmonuments.org/ ? They're identified by the presence of a P2186 statement, more precisely the query you find at https://www.wikidata.org/?curid=30576438#Statistics

7000 of them have coordinates, you can get a glimpse at
https://umap.openstreetmap.fr/it/map/monumenti-wlm-it-2019_351889

(For which I used a hand-made KML file with a very basic regex (.*)+\t(.*)+\t(.*)+\t(.*)+$<Placemark>\n<name>\2</name>\n<description>\3\n\1</description>\n<Point>\n<coordinates>\4</coordinates>\n</Point>\n</Placemark>, shame on me.)

Provide language fallback to country official language for labels if the monument doesn't have a label in the user's language

E.g there are 1000s of monuments in Paris without an English language label because there is no English name for the site. English uses the French name for the buildings, with some exceptions for very famous places like Eiffel Tower rather than Tour Eiffel. It is not correct to add the French name to the English label in Wikidata because it isn't an English name, so if Wikidata stores data correctly the sites will never have an English label. This is true for a lot of monuments in a lot of cities.

One way to address this in Monumental would be to provide a language fallback to the label or labels for the official language or languages for that country. This gets a bit messy in places like Belgium, India or South Africa where there are more than one official language. One solution to this would be to fallback to show the language with the most speakers for that region and then fallback again to second most spoken if that is not available, etc etc.

Rules for WLM FR 2018

Hi,

For France, I see on the map that some monument appears that doesn't fit the scope of WLM FR 2018. This year the rule is simple : we accept all monuments with the property P380 and only those. Could we only have those on the map?

For instance https://maps.wikilovesmonuments.org/object/23297286 is not in WLM 2018 for France (I guess you choose to have all monuments with a P1435 which is very similar set to P380 but not exactly the same)

Sweden: Includes everything with P1435

For now an data issue

In Sweden only a limited subset of items that can have P1435 heritage designation stated is used in WLM, Monumental currently queries all of them.

Example:
The church "Floda Kyrka" has in Wikidata two items with P1435 one is the facility and one is the actual building, in Sweden only facilities has previously been used in WLM. Both items have heritage designation specified.

Other types of heritage sites are limited to other types of subset filters.

@lokal-profil Wikidata items needs some type of additional statement so we can distinguish items that should be a part of WLM and those which shouldn't.

Display maps defined by other properties

Feature request

Have a feature (in the URL I guess) that allows you to display a map using other properties, not just 'instance of'. This would allow you to only display items from certain databases or other interesting things. E.g I would like to show a map that was only Biosphere Reserves.

WLM-UK uploads using incorrect template parameter

Copy of my email to Paweł, 4 September 2018. Repeating it here, as the issue still needs looking at. Another example from later on in the contest is is File:Scotland - St Clement's Church - 20180410131840.jpg

We still seem to have a problem with some UK uploads, separate from the date issue. Monumental is using an incorrect parameter gb in the {{Wiki Loves Monuments 2018}} template which it adds to each page. It always seems to be using {{Wiki Loves Monuments 2018|gb}} which gives the error message No or incorrect country code indicated in the {{Wiki Loves Monuments 2018}} template, and adds the category Images from Wiki Loves Monuments 2018 in an unknown country.

gb on its own is not a valid parameter, and one of the following needs to be used depending on which of the four UK campaigns is relevant:

gb-wls (Wales)
gb-nir (Northern Ireland)
gb-eng (England)
gb-sct (Scotland)

Here are three recent examples from Northern Ireland:

https://commons.wikimedia.org/w/index.php?title=Category:Images_from_Wiki_Loves_Monuments_2018_in_an_unknown_country&action=edit&redlink=1

Regards
Michael

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.