Skip to content

Commit b4a1c21

Browse files
committed
improve description and wording
1 parent ab0e62b commit b4a1c21

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

scripts/3-report/wikipedia_report.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ def wikipedia_intro(args):
116116
" Attribution 4.0 International across the different language editions"
117117
" of Wikipedia. The Wikipedia data, below, uses the `Count` field from"
118118
" the Wikipedia API to quantify the number of articles in"
119-
" each language edition of Wikipedia."
119+
" each language edition of Wikipedia.\n"
120120
"\n"
121121
f"**The total number of Wikipedia articles across"
122122
f" {language_count} languages is"
123123
f" {total_articles:,}. The top 10 languages account for"
124124
f" {top10_articles:,} articles, which is"
125125
f" {top10_percentage:,.2f}% of the total articles."
126126
" The average number of articles per language is"
127-
f" {average_articles:,.2f}.**"
127+
f" {average_articles:,.2f}.**\n"
128128
"\n"
129129
"Thank you to the volunteers who curate this data and the Wikimedia"
130130
" Foundation for making it publicly available!",
@@ -133,7 +133,7 @@ def wikipedia_intro(args):
133133

134134
def plot_language_representation(args):
135135
"""
136-
Create plots showing language representation
136+
Create a plot showing language representation
137137
"""
138138
LOGGER.info(plot_language_representation.__doc__.strip())
139139
file_path = shared.path_join(
@@ -170,16 +170,16 @@ def plot_language_representation(args):
170170
SECTION_TITLE,
171171
title,
172172
image_path,
173-
"Plots showing the language representation across different language"
174-
" editions of Wikipedia. This shows how many languages are"
173+
"The plot shows the language representation across the different"
174+
" language editions of Wikipedia. It shows how many languages are"
175175
" underrepresented (below average number of articles) versus"
176176
" represented (above average number of articles).",
177177
)
178178

179179

180180
def plot_highest_language_usage(args):
181181
"""
182-
Create plots showing totals by license type
182+
Create a plot showing the most represented languages
183183
"""
184184
LOGGER.info(plot_highest_language_usage.__doc__.strip())
185185
file_path = shared.path_join(
@@ -216,14 +216,14 @@ def plot_highest_language_usage(args):
216216
SECTION_TITLE,
217217
title,
218218
image_path,
219-
"Plots showing the most represented languages across the different"
220-
"language editions of Wikipedia.",
219+
"The plot shows the most represented languages across the different"
220+
" language editions of Wikipedia.",
221221
)
222222

223223

224224
def plot_least_language_usage(args):
225225
"""
226-
Create plots showing totals by license type
226+
Create plots showing the least represented languages
227227
"""
228228
LOGGER.info(plot_least_language_usage.__doc__.strip())
229229
file_path = shared.path_join(
@@ -260,7 +260,7 @@ def plot_least_language_usage(args):
260260
SECTION_TITLE,
261261
title,
262262
image_path,
263-
"Plots showing the least represented languages across the different"
263+
"The plot shows the least represented languages across the different"
264264
" language editions of Wikipedia.",
265265
)
266266

0 commit comments

Comments
 (0)