ArielGlenn has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/325944 )
Change subject: remove unneeded dblists and references to them ...................................................................... remove unneeded dblists and references to them We no longer check 'is this wiki a wikidata client' by looking in a file with a list of wikis, same for several other similar checks. Yay! Bug: T152679 Change-Id: I216ae8301d2dad1e357c0682cd13004ff294761d --- M xmldumps-backup/dumps/WikiDump.py 1 file changed, 0 insertions(+), 20 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/dumps refs/changes/44/325944/1 diff --git a/xmldumps-backup/dumps/WikiDump.py b/xmldumps-backup/dumps/WikiDump.py index fcdafae..6635fb9 100644 --- a/xmldumps-backup/dumps/WikiDump.py +++ b/xmldumps-backup/dumps/WikiDump.py @@ -35,10 +35,6 @@ "dblist": "", "privatelist": "", "closedlist": "", - "flaggedrevslist": "", - "wikidatalist": "", - "globalusagelist": "", - "wikidataclientlist": "", "tablejobs": "", # "dir": "", "forcenormal": "0", @@ -204,10 +200,6 @@ self.private_list = MiscUtils.db_list(self.conf.get("wiki", "privatelist")) self.closed_list = MiscUtils.db_list(self.conf.get("wiki", "closedlist")) - self.flagged_revs_list = MiscUtils.db_list(self.conf.get("wiki", "flaggedrevslist")) - self.wikidata_list = MiscUtils.db_list(self.conf.get("wiki", "wikidatalist")) - self.global_usage_list = MiscUtils.db_list(self.conf.get("wiki", "globalusagelist")) - self.wikidata_client_list = MiscUtils.db_list(self.conf.get("wiki", "wikidataclientlist")) self.flow_list = MiscUtils.db_list(self.conf.get("wiki", "flowlist")) self.halt = self.conf.getint("wiki", "halt") self.tablejobs = self.conf.get("wiki", "tablejobs") @@ -453,18 +445,6 @@ def is_closed(self): return self.db_name in self.config.closed_list - - def has_flagged_revs(self): - return self.db_name in self.config.flagged_revs_list - - def has_wikidata(self): - return self.db_name in self.config.wikidata_list - - def has_global_usage(self): - return self.db_name in self.config.global_usage_list - - def is_wikidata_client(self): - return self.db_name in self.config.wikidata_client_list def has_flow(self): return self.db_name in self.config.flow_list -- To view, visit https://gerrit.wikimedia.org/r/325944 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I216ae8301d2dad1e357c0682cd13004ff294761d Gerrit-PatchSet: 1 Gerrit-Project: operations/dumps Gerrit-Branch: master Gerrit-Owner: ArielGlenn <ar...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits