Jean-Frédéric has submitted this change and it was merged.

Change subject: Template names in monuments-config are case-sensentive
......................................................................


Template names in monuments-config are case-sensentive

The case of the first letter of a template does matter.
The job was not identifying the templates properly
as 'monument' is different from 'Monument'.

Bug: T110665
Change-Id: I3c45ae6cc026b4c7404c5d5ff4e417dbedc469ef
---
M erfgoedbot/monuments_config.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jean-Frédéric: Verified; Looks good to me, approved



diff --git a/erfgoedbot/monuments_config.py b/erfgoedbot/monuments_config.py
index 4299528..2d7edc3 100755
--- a/erfgoedbot/monuments_config.py
+++ b/erfgoedbot/monuments_config.py
@@ -6838,8 +6838,8 @@
     ('ru', 'ru') : { # Monuments in Russia in Russian.
         'project' : u'wikivoyage',
         'lang' : u'ru',
-        'headerTemplate' : u'monument-title',
-        'rowTemplate' : u'monument',
+        'headerTemplate' : u'Monument-title',
+        'rowTemplate' : u'Monument',
         'commonsTemplate' : False,  # Hack to deactivate categorisation at ru 
request
         'commonsTrackerCategory' : u'Cultural heritage monuments in Russia 
with known IDs',
         'commonsCategoryBase' : u'Cultural heritage monuments in Russia',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c45ae6cc026b4c7404c5d5ff4e417dbedc469ef
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Jean-Frédéric <[email protected]>
Gerrit-Reviewer: Jean-Frédéric <[email protected]>

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

Reply via email to