jenkins-bot has submitted this change and it was merged. (
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 some twice harvested fields.
Related to
Bug: T173929
Change-Id: I53ddee012f62c8f292a495c59dd832c1be8692dc
---
M erfgoedbot/monuments_config/ar_es.json
M erfgoedbot/monuments_config/cl_es.json
M erfgoedbot/monuments_config/co_es.json
M erfgoedbot/monuments_config/mx_es.json
4 files changed, 12 insertions(+), 40 deletions(-)
Approvals:
Jean-Frédéric: Looks good to me, approved
jenkins-bot: Verified
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/cl_es.json
b/erfgoedbot/monuments_config/cl_es.json
index fe490a8..2032c59 100644
--- a/erfgoedbot/monuments_config/cl_es.json
+++ b/erfgoedbot/monuments_config/cl_es.json
@@ -80,11 +80,6 @@
"dest": "tipo",
"source": "tipo",
"type": "enum('Error', 'MH','ZT','SN')"
- },
- {
- "dest": "monument_article",
- "source": "monumento",
- "conv": "extractWikilink"
}
],
"sql_lang": "Spanish",
@@ -155,4 +150,4 @@
"type": "Field"
}
}
-}
\ No newline at end of file
+}
diff --git a/erfgoedbot/monuments_config/co_es.json
b/erfgoedbot/monuments_config/co_es.json
index 26e3b22..2005639 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",
@@ -76,14 +75,6 @@
{
"dest": "imagen",
"source": "imagen"
- },
- {
- "dest": "commonscat",
- "source": "commonscat"
- },
- {
- "dest": "monument_article",
- "source": "monumento_enlace"
}
],
"sql_lang": "Spanish",
@@ -138,7 +129,7 @@
"type": "Field"
},
"commonscat": {
- "value": "commonscat",
+ "value": "monumento_categoria",
"type": "Field"
},
"source": {
@@ -150,8 +141,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..5fcb67a 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",
@@ -77,14 +76,6 @@
{
"dest": "imagen",
"source": "imagen"
- },
- {
- "dest": "commonscat",
- "source": "commonscat"
- },
- {
- "dest": "monument_article",
- "source": "monumento_enlace"
}
],
"sql_lang": "Spanish",
@@ -143,7 +134,7 @@
"type": "Field"
},
"commonscat": {
- "value": "commonscat",
+ "value": "monumento_categoria",
"type": "Field"
},
"source": {
@@ -155,8 +146,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: merged
Gerrit-Change-Id: I53ddee012f62c8f292a495c59dd832c1be8692dc
Gerrit-PatchSet: 3
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Lokal Profil <[email protected]>
Gerrit-Reviewer: Jean-Frédéric <[email protected]>
Gerrit-Reviewer: Multichill <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits