|
@@ -34,6 +34,7 @@ def locale_to_lang_code(locale):
|
34
|
34
|
locale = locale.split('_')[0]
|
35
|
35
|
return locale
|
36
|
36
|
|
|
37
|
+
|
37
|
38
|
# wikis for some languages were moved off from the main site, we need to make
|
38
|
39
|
# requests to correct URLs to be able to get results in those languages
|
39
|
40
|
lang_urls = {
|
|
@@ -70,6 +71,7 @@ def get_lang_urls(language):
|
70
|
71
|
return lang_urls[language]
|
71
|
72
|
return lang_urls['all']
|
72
|
73
|
|
|
74
|
+
|
73
|
75
|
# Language names to build search requests for
|
74
|
76
|
# those languages which are hosted on the main site.
|
75
|
77
|
main_langs = {
|