Magul has uploaded a new change for review.
https://gerrit.wikimedia.org/r/322953
Change subject: Change to code from lang in ORES installation matrix.
......................................................................
Change to code from lang in ORES installation matrix.
Also add few Mediawiki instances that are tested and have ORES installed.
Bug: T151156
Change-Id: I0a3c17a211a831e530b0f94e43b20015f4baa3e3
---
M tests/paraminfo_tests.py
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/53/322953/1
diff --git a/tests/paraminfo_tests.py b/tests/paraminfo_tests.py
index b72a0ac..a629617 100644
--- a/tests/paraminfo_tests.py
+++ b/tests/paraminfo_tests.py
@@ -82,13 +82,13 @@
types.append('unread')
ores_installed = {
- 'wikipedia': ('en', 'fa', 'nl', 'pl', 'pt', 'ru', 'tr'),
- 'wikidata': ('en',),
+ 'wikidata': ('wikidata',),
+ 'wikipedia': ('en', 'fa', 'nl', 'pl', 'pt', 'ru', 'tr',),
+ 'wpbeta': ('en', 'zh',),
}
-
if (
self.site.family in ores_installed and
- self.site.lang in ores_installed[self.site.family]
+ self.site.code in ores_installed[self.site.family]
):
types.append('oresreview')
--
To view, visit https://gerrit.wikimedia.org/r/322953
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a3c17a211a831e530b0f94e43b20015f4baa3e3
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Magul <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits