Xqt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/268942
Change subject: [IMPR] exceptions is no longer needed since stats are retrieved
as xml data set
......................................................................
[IMPR] exceptions is no longer needed since stats are retrieved as xml data set
exception was previously used for the screen scraping regex and is no longer
required. On the other hand wikisource appends a '-' language at the end of
the language_by_size list this must be excluded from processing. Otherwise
we get that entry twice.
Change-Id: I05bab72fa24ef13346aee2d7b50aaaeeee2179b4
---
M scripts/maintenance/wikimedia_sites.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/42/268942/1
diff --git a/scripts/maintenance/wikimedia_sites.py
b/scripts/maintenance/wikimedia_sites.py
index d26c958..8f0fcc6 100755
--- a/scripts/maintenance/wikimedia_sites.py
+++ b/scripts/maintenance/wikimedia_sites.py
@@ -41,7 +41,7 @@
'wiktionary': 'wiktionaries',
}
-exceptions = ['www']
+exceptions = ['-']
def update_family(families):
--
To view, visit https://gerrit.wikimedia.org/r/268942
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I05bab72fa24ef13346aee2d7b50aaaeeee2179b4
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits