Last modified: 2013-10-30 12:13:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55623, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53623 - Add Israel in Hebrew to the monuments database
Add Israel in Hebrew to the monuments database
Status: REOPENED
Product: Wiki Loves Monuments
Classification: Unclassified
Database (Other open bugs)
unspecified
All All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 52818
  Show dependency treegraph
 
Reported: 2013-08-31 11:12 UTC by Yan Nasonov
Modified: 2013-10-30 12:13 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yan Nasonov 2013-08-31 11:12:04 UTC
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.
Comment 1 Maarten Dammers 2013-09-03 19:55:10 UTC
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?
Comment 2 Yan Nasonov 2013-09-04 08:29:11 UTC
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.
Comment 3 Platonides 2013-09-15 17:33:13 UTC
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.
Comment 4 Yan Nasonov 2013-09-15 17:41:30 UTC
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
Comment 5 Yan Nasonov 2013-09-15 17:42:13 UTC
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',
            },
        ],
    },
Comment 6 Yan Nasonov 2013-09-15 20:31:46 UTC
 ('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',
Comment 7 Platonides 2013-09-15 22:39:01 UTC
Fixed in r1194.
Comment 8 Yan Nasonov 2013-09-16 22:48:58 UTC
Doesn't appear to be resolved. New monuments can't be found here:
https://toolserver.org/~erfgoed/toolbox/search.php
Comment 9 Platonides 2013-09-22 20:24:09 UTC
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?
Comment 10 Yan Nasonov 2013-09-23 14:43:39 UTC
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.
Comment 11 Tomasz W. Kozlowski 2013-10-30 11:21:06 UTC
Wiki Loves Monuments 2013 is over, therefore lowering severity.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links