jenkins-bot has submitted this change and it was merged.
Change subject: Update API link from wlm.wikimedia.org to tool labs
......................................................................
Update API link from wlm.wikimedia.org to tool labs
Follow-up to 563baa0e
Bug: T113275
Change-Id: I3ff049836009b15f0b09e23359ae56c9c172d696
---
M erfgoedbot/database_statistics.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jean-Frédéric: Looks good to me, approved
jenkins-bot: Verified
diff --git a/erfgoedbot/database_statistics.py
b/erfgoedbot/database_statistics.py
index 9d2dc9a..58fa9be 100755
--- a/erfgoedbot/database_statistics.py
+++ b/erfgoedbot/database_statistics.py
@@ -98,7 +98,7 @@
u'|| %(adm0)s <small>(%(adm0Percentage)s%%)</small>' %
statistics[
country][language]
output = output + \
- u'||
[http://wlm.wikimedia.org/api/api.php?action=adminlevels&format=json&admtree=%(adm0iso)s
%(adm1)s] <small>(%(adm1Percentage)s%%)</small>' % statistics[
+ u'||
[//tools.wmflabs.org/heritage/api/api.php?action=adminlevels&format=json&admtree=%(adm0iso)s
%(adm1)s] <small>(%(adm1Percentage)s%%)</small>' % statistics[
country][language]
output = output + \
u'|| %(adm2)s <small>(%(adm2Percentage)s%%)</small>' %
statistics[
--
To view, visit https://gerrit.wikimedia.org/r/239910
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3ff049836009b15f0b09e23359ae56c9c172d696
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Jean-Frédéric <[email protected]>
Gerrit-Reviewer: Jean-Frédéric <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits