jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/866795 )
Change subject: category_graph: cosmetic dot changes ......................................................................
category_graph: cosmetic dot changes
Change-Id: I45ab646f143de9f23a3a4c9bb5cf57f824bf4c60 --- M scripts/category_graph.py 1 file changed, 11 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/category_graph.py b/scripts/category_graph.py index 0110480..d757a6d 100755 --- a/scripts/category_graph.py +++ b/scripts/category_graph.py @@ -102,8 +102,7 @@ label=r'"{}\n{} C"'. format(title, len(subcats)), tooltip=title + '\n\n' + subs, - URL='https://' + self.site.code - + '.wikipedia.org/wiki/' + cat.title(as_url=True), + URL=cat.full_url(), fontsize=int(10 * size)) return n
@@ -119,7 +118,7 @@ penwidth=round(size / 2, 2), arrowsize=round(size / 4, 2), color=str(round(h, 2)) + ' 1 0.7', - labelfontsize=int(size), + labelfontsize=int(3 * size), labelfontcolor=str(round(h, 2)) + ' 1 0.5') return e