Page MenuHomePhabricator

Add Israel in Hebrew to the monuments database
Closed, DeclinedPublic

Description

Author: ynhockey

Description:
Here are the details:

Useful information to include:

  • project - wikipedia
  • lang - he
  • headerTemplate - תבנית:יצירת אמנות במרחב הציבורי בישראל כותרת‏
  • rowTemplate - תבנית:יצירת אמנות במרחב הציבורי בישראל בשורה
  • commonsTemplate - Template:Heritage site in Israel
  • commonsTrackerCategory - Category:Heritage sites in Israel with known IDs
  • commonsCategoryBase - ?? the base of the category tree at Commons for all images
  • autoGeocode - ?? To automagicly geocode the images at Commons (be careful)
  • unusedImagesPage - ?? Page to put the list of unused images.
  • imagesWithoutIdPage - ?? Page to put the list of images without an id.
  • registrantUrlBase - ?? The url which can be combined with the id to get more

info

  • namespaces - 4
  • table - Assumed: monuments_il_he - The name of the table, convention monuments_<country>_(<lang>)
  • truncate - ?? False if you don't have a real primkey
  • primkey - ?? What is the primkey? Can be one or more fields. Should be unique,

strong etc.


Version: unspecified
Severity: normal

Details

Reference
bz53623

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:09 AM
bzimport set Reference to bz53623.
bzimport added a subscriber: Unknown Object (MLST).

I already have Israel in the database:

('il', 'he') : { # Israel monuments in Hebrew
    'project' : u'wikipedia',
    'lang' : u'he',
    'headerTemplate' : u'אתר מורשת בישראל כותרת',
    'rowTemplate' : u'אתר מורשת בישראל בשורה',
    'commonsTemplate' : u'Heritage site in Israel',
    'commonsTrackerCategory' : u'Heritage sites in Israel with known IDs',
    'commonsCategoryBase' : u'Heritage sites in Israel',
    'autoGeocode' : False,
    'unusedImagesPage' : u'ויקיפדיה:מיזמי ויקיפדיה/Wiki Loves Monuments/Unused images',
    #'imagesWithoutIdPage' : u'Wikipedia:WikiProject National Register of Historic Places/Images without refnum',
    'namespaces' : [0, 4],
    'table' : u'monuments_il_(he)',
    'truncate' : False,
    'primkey' : u'id',

What's the difference?

ynhockey wrote:

This is an additional template, not a replacement for the previous one. It is a template for notable public art (as defined by the Israel Museum), which was part of the Israeli WLM competition last year, and is going to be again this year. We actually talked about this issue last year, but unfortunately the template was not added for some reason.

Ynhockey, can you provide the values to insert into the db?
A patch against https://svn.toolserver.org/svnroot/p_erfgoed/erfgoedbot/monuments_config.py would be best, but just a copy of the entry to insert would work, too.

ynhockey wrote:

Here are the values, if I understand what you wanted. However, you can pretty much copy our existing source, just change the template name. It is very important to underscore that this is a second source, not a replacement for the previous one.

type: סוג אתר
number: מספר אתר
name: שם אתר
description: תיאור אתר
proponent:
management:
adopted:
lat: LAT
lon: LONG
area:
M_plan:
alt_country1:
alt_number1:
commonscat: קטגוריה בוויקישיתוף
url:
image: תמונה
monument_article:
address: כתובת
municipality: רשות מקומית
district-iso: district-iso

ynhockey wrote:

Essentially I'm talking about this:

    'fields' : [
        {
            'source' : u'מספר אתר',
            'dest' : u'id',
            'type' : 'varchar(20)',
        },
        {
            'source' : u'מחוז',
            'dest' : u'district',
        },
        {
            'source' : u'district-iso',
            'dest' : u'district-iso',
        },
        {
            'source' : u'שם אתר',
            'dest' : u'name',
        },
        {
            'source' : u'שם ערך',
            'dest' : u'article',
        },
        {
            'source' : u'שם אתר באנגלית',
            'dest' : u'name-en',
        },
        {
            'source' : u'תיאור אתר',
            'dest' : u'description',
        },
        {
            'source' : u'תיאור אתר באנגלית',
            'dest' : u'description-en',
        },
        {
            'source' : u'אדריכל',
            'dest' : u'architect',
        },
        {
            'source' : u'שנת הקמה',
            'dest' : u'year',
        },
        {
            'source' : u'סוג אתר',
            'dest' : u'type',
        },
        {
            'source' : u'קטגוריה בוויקישיתוף',
            'dest' : u'commonscat',
        },
        {
            'source' : u'כתובת',
            'dest' : u'address',
        },
        {
            'source' : u'רשות מקומית',
            'dest' : u'municipality',
        },
        {
            'source' : u'גוש',
            'dest' : u'area',
        },
        {
            'source' : u'חלקה',
            'dest' : u'lot',
        },
        {
            'source' : u'LAT',
            'dest' : u'lat',
        },
        {
            'source' : u'LONG',
            'dest' : u'lon',
        },
        {
            'source' : u'תמונה',
            'dest' : u'image',
        },
    ],
},

ynhockey wrote:

('il', 'he') : { # Israel public art in Hebrew

'project' : u'wikipedia',
'lang' : u'he',
'headerTemplate' : u'יצירת אמנות במרחב הציבורי בישראל כותרת',
'rowTemplate' : u'יצירת אמנות במרחב הציבורי בישראל בשורה',
'commonsTemplate' : u'Heritage site in Israel',
'commonsTrackerCategory' : u'Heritage sites in Israel with known IDs',
'commonsCategoryBase' : u'Heritage sites in Israel',
'autoGeocode' : False,
'unusedImagesPage' : u'ויקיפדיה:מיזמי ויקיפדיה/Wiki Loves Monuments/Unused images',
#'imagesWithoutIdPage' : u'Wikipedia:WikiProject National Register of Historic Places/Images without refnum',
'namespaces' : [0, 4],
'table' : u'monuments_il_(he)',
'truncate' : False,
'primkey' : u'id',

ynhockey wrote:

Doesn't appear to be resolved. New monuments can't be found here:
https://toolserver.org/~erfgoed/toolbox/search.php

Are they still missing? If so, can you provide a monument that should be appearing but is not, along the place where it is defined?

ynhockey wrote:

Unfortunately I couldn't wait that long to find out and changed the template to the previous template. This creates a lot of problems but it's the only way we could make it work for the competition. Whenever you're in the competition's IRC channel please ping me so we can do a test online with a dummy monument I'll add.

Wiki Loves Monuments 2013 is over, therefore lowering severity.

Request has been idle for over 1 year, closing per the conclusions of the monuments meetup [1] at the Wikimedia Hackathon. You can reopen it if this import is still required.

[1] https://etherpad.wikimedia.org/p/monuments-meetup