diff --git a/modules/irc/templates/pywikibot/wikitide_family.py b/modules/irc/templates/pywikibot/wikitide_family.py index 063f1379e3..67e2242c02 100644 --- a/modules/irc/templates/pywikibot/wikitide_family.py +++ b/modules/irc/templates/pywikibot/wikitide_family.py @@ -6,21 +6,21 @@ class Family(family.Family): # noqa: D101 name = 'wikitide' langs = { - <% family_langs.each do |$dbname $params| {-%> + <% @family_langs.each do |$dbname $params| {-%> '<%= $dbname %>': '<%= $params["domain"] %>', <% end -%> } def scriptpath(self, code): return { - <% family_langs.each do |$dbname, $params| {-%> + <% @family_langs.each do |$dbname, $params| {-%> '<%= $dbname %>': '/w', <% end -%> }[code] def protocol(self, code): return { - <% family_langs.each do |$dbname $params| {-%> + <% @family_langs.each do |$dbname $params| {-%> '<%= $dbname %>': 'https', <% end -%> }[code]