Last modified: 2013-10-30 12:13:03 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.
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?
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.
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
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', }, ], },
('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',
Fixed in r1194.
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?
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.