Lokal Profil has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376003 )

Change subject: Fix wrong use of default in Colombia, Mexico, Argentina harvest
......................................................................

Fix wrong use of default in Colombia, Mexico, Argentina harvest

The old default meant that the word "monumento" rather than the field
value of "monumento" was set as default.

Also removing twice harvested field.

Related to
Bug: T173929
Change-Id: I53ddee012f62c8f292a495c59dd832c1be8692dc
---
M erfgoedbot/monuments_config/ar_es.json
M erfgoedbot/monuments_config/co_es.json
M erfgoedbot/monuments_config/mx_es.json
3 files changed, 9 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage 
refs/changes/03/376003/1

diff --git a/erfgoedbot/monuments_config/ar_es.json 
b/erfgoedbot/monuments_config/ar_es.json
index d217bf9..4442c1d 100644
--- a/erfgoedbot/monuments_config/ar_es.json
+++ b/erfgoedbot/monuments_config/ar_es.json
@@ -58,8 +58,7 @@
         },
         {
             "dest": "monumento_enlace",
-            "source": "monumento_enlace",
-            "default": "monumento"
+            "source": "monumento_enlace"
         },
         {
             "dest": "enlace",
@@ -76,10 +75,6 @@
         {
             "dest": "imagen",
             "source": "imagen"
-        },
-        {
-            "dest": "monument_article",
-            "source": "monumento_enlace"
         }
     ],
     "sql_lang": "Spanish",
@@ -150,7 +145,7 @@
             "type": "Field"
         },
         "monument_article": {
-            "value": "monument_article",
+            "value": "monumento_enlace",
             "type": "Field"
         },
         "registrant_url": {
@@ -158,4 +153,4 @@
             "type": "Raw"
         }
     }
-}
\ No newline at end of file
+}
diff --git a/erfgoedbot/monuments_config/co_es.json 
b/erfgoedbot/monuments_config/co_es.json
index 26e3b22..ec111e1 100644
--- a/erfgoedbot/monuments_config/co_es.json
+++ b/erfgoedbot/monuments_config/co_es.json
@@ -58,8 +58,7 @@
         },
         {
             "dest": "monumento_enlace",
-            "source": "monumento_enlace",
-            "default": "monumento"
+            "source": "monumento_enlace"
         },
         {
             "dest": "enlace",
@@ -80,10 +79,6 @@
         {
             "dest": "commonscat",
             "source": "commonscat"
-        },
-        {
-            "dest": "monument_article",
-            "source": "monumento_enlace"
         }
     ],
     "sql_lang": "Spanish",
@@ -150,8 +145,8 @@
             "type": "Field"
         },
         "monument_article": {
-            "value": "monument_article",
+            "value": "monumento_enlace",
             "type": "Field"
         }
     }
-}
\ No newline at end of file
+}
diff --git a/erfgoedbot/monuments_config/mx_es.json 
b/erfgoedbot/monuments_config/mx_es.json
index 4447825..cba4695 100644
--- a/erfgoedbot/monuments_config/mx_es.json
+++ b/erfgoedbot/monuments_config/mx_es.json
@@ -59,8 +59,7 @@
         },
         {
             "dest": "monumento_enlace",
-            "source": "monumento_enlace",
-            "default": "monumento"
+            "source": "monumento_enlace"
         },
         {
             "dest": "enlace",
@@ -81,10 +80,6 @@
         {
             "dest": "commonscat",
             "source": "commonscat"
-        },
-        {
-            "dest": "monument_article",
-            "source": "monumento_enlace"
         }
     ],
     "sql_lang": "Spanish",
@@ -155,8 +150,8 @@
             "type": "Field"
         },
         "monument_article": {
-            "value": "monument_article",
+            "value": "monumento_enlace",
             "type": "Field"
         }
     }
-}
\ No newline at end of file
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/376003
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I53ddee012f62c8f292a495c59dd832c1be8692dc
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to