Skip to content

Commit 3ab14bb

Browse files
Update CLI test fixtures [automated]
1 parent 09753f0 commit 3ab14bb

17 files changed

Lines changed: 68 additions & 68 deletions

tests/cli/expected/backlinks_en.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@
213213
2010 BK118
214214
2010 EU65
215215
2010 GB174
216-
2010 KZ39
217216
2010 in science
218217
2010s in science and technology
219218
2011 HM102
@@ -808,6 +807,7 @@ Isolated brain
808807
Italian names in the Solar System
809808
Işıl Eğrikavuk
810809
Jack Wisdom
810+
Jake Heggie
811811
James Ferguson (American astronomer)
812812
James L. Elliot
813813
James T. Kirk
@@ -1856,6 +1856,7 @@ Talk:New Horizons/Archive 2
18561856
Talk:New York City/Archive 16
18571857
Talk:Ninth planet (disambiguation)
18581858
Talk:Orbit/Archive 1
1859+
Talk:Orcus (dwarf planet)
18591860
Talk:Orders of magnitude (pressure)
18601861
Talk:PLUTO
18611862
Talk:Pamela Geller/Archive 7
@@ -1878,7 +1879,7 @@ Talk:Planets in astrology
18781879
Talk:Pluto
18791880
Talk:Pluto (Disney)/Archive 1
18801881
Talk:Pluto (disambiguation)
1881-
Talk:Pluto (mythology)
1882+
Talk:Pluto (mythology)/Archive 1
18821883
Talk:Pluto in fiction
18831884
Talk:Pluto/Archive 1
18841885
Talk:Pluto/Archive 2
@@ -2293,6 +2294,7 @@ User talk:Rowan iF
22932294
User talk:Ryulong/Archive 3
22942295
User talk:Ryulong/Archive 4
22952296
User talk:ST47/Archive1
2297+
User talk:Sapphaline
22962298
User talk:Sds6065
22972299
User talk:Serendipodous/Solar System
22982300
User talk:Serendipodous/User talk:Serendipodous archive 10
@@ -3702,7 +3704,6 @@ User:PvtHudson IV
37023704
User:Pwillows
37033705
User:Pythagorean Theorem
37043706
User:Python187
3705-
User:PÆon/Sandbox
37063707
User:QN/tamrin
37073708
User:Qrstw
37083709
User:RP88/Images
@@ -3830,6 +3831,8 @@ User:Sandmouse/userboxes
38303831
User:Sanja Simat
38313832
User:Santhosh06udaya/Books/Universe
38323833
User:Sapienyia
3834+
User:Sapphaline/sandbox
3835+
User:Sapphaline/ub
38333836
User:Sarah chocoholic93/Userboxen
38343837
User:Saraid
38353838
User:Sarathvk
@@ -4384,7 +4387,7 @@ Wikipedia talk:Verifiability/RfC
43844387
Wikipedia talk:Vital articles/Archive 1
43854388
Wikipedia talk:Vital articles/Archive 14
43864389
Wikipedia talk:Vital articles/Archive 2
4387-
Wikipedia talk:Vital articles/Level/4/Archive 51
4390+
Wikipedia talk:Vital articles/Level 4/Archive 51
43884391
Wikipedia talk:WikiProject Astronomical objects/Archive 10
43894392
Wikipedia talk:WikiProject Astronomical objects/Archive 20
43904393
Wikipedia talk:WikiProject Astronomical objects/Archive 25
@@ -4409,7 +4412,6 @@ Wikipedia talk:WikiProject Languages/Archive 3
44094412
Wikipedia talk:WikiProject Law/Archive 18
44104413
Wikipedia talk:WikiProject Mathematics/Archive/2011/Sep
44114414
Wikipedia talk:WikiProject Medicine/Archive 152
4412-
Wikipedia talk:WikiProject Portals/Design/Archive 3
44134415
Wikipedia talk:WikiProject Solar System/Archive 1
44144416
Wikipedia talk:WikiProject Solar System/Archive 3
44154417
Wikipedia talk:WikiProject Spaceflight/Timeline of spaceflight working group/Archive 1
@@ -4895,8 +4897,8 @@ Wikipedia:Village pump (policy)/Archive 203
48954897
Wikipedia:Village pump (policy)/Archive 208
48964898
Wikipedia:Village pump (technical)/Archive 139
48974899
Wikipedia:Village pump (technical)/Archive 162
4898-
Wikipedia:Vital articles/Level/4/Physical sciences
4899-
Wikipedia:Vital articles/Level/5/Physical sciences/Astronomy
4900+
Wikipedia:Vital articles/Level 4/Physical sciences
4901+
Wikipedia:Vital articles/Level 5/Physical sciences/Astronomy
49004902
Wikipedia:Vital articles/List of all articles
49014903
Wikipedia:Vital articles/List of all level 1–4 vital articles
49024904
Wikipedia:Vital articles/Popular pages

tests/cli/expected/backlinks_en_json.txt

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,11 +1074,6 @@
10741074
"language": "en",
10751075
"ns": 0
10761076
},
1077-
"2010 KZ39": {
1078-
"title": "2010 KZ39",
1079-
"language": "en",
1080-
"ns": 0
1081-
},
10821077
"2010 in science": {
10831078
"title": "2010 in science",
10841079
"language": "en",
@@ -4049,6 +4044,11 @@
40494044
"language": "en",
40504045
"ns": 0
40514046
},
4047+
"Jake Heggie": {
4048+
"title": "Jake Heggie",
4049+
"language": "en",
4050+
"ns": 0
4051+
},
40524052
"James Ferguson (American astronomer)": {
40534053
"title": "James Ferguson (American astronomer)",
40544054
"language": "en",
@@ -9289,6 +9289,11 @@
92899289
"language": "en",
92909290
"ns": 1
92919291
},
9292+
"Talk:Orcus (dwarf planet)": {
9293+
"title": "Talk:Orcus (dwarf planet)",
9294+
"language": "en",
9295+
"ns": 1
9296+
},
92929297
"Talk:Orders of magnitude (pressure)": {
92939298
"title": "Talk:Orders of magnitude (pressure)",
92949299
"language": "en",
@@ -9399,8 +9404,8 @@
93999404
"language": "en",
94009405
"ns": 1
94019406
},
9402-
"Talk:Pluto (mythology)": {
9403-
"title": "Talk:Pluto (mythology)",
9407+
"Talk:Pluto (mythology)/Archive 1": {
9408+
"title": "Talk:Pluto (mythology)/Archive 1",
94049409
"language": "en",
94059410
"ns": 1
94069411
},
@@ -11474,6 +11479,11 @@
1147411479
"language": "en",
1147511480
"ns": 3
1147611481
},
11482+
"User talk:Sapphaline": {
11483+
"title": "User talk:Sapphaline",
11484+
"language": "en",
11485+
"ns": 3
11486+
},
1147711487
"User talk:Sds6065": {
1147811488
"title": "User talk:Sds6065",
1147911489
"language": "en",
@@ -18519,11 +18529,6 @@
1851918529
"language": "en",
1852018530
"ns": 2
1852118531
},
18522-
"User:PÆon/Sandbox": {
18523-
"title": "User:PÆon/Sandbox",
18524-
"language": "en",
18525-
"ns": 2
18526-
},
1852718532
"User:QN/tamrin": {
1852818533
"title": "User:QN/tamrin",
1852918534
"language": "en",
@@ -19159,6 +19164,16 @@
1915919164
"language": "en",
1916019165
"ns": 2
1916119166
},
19167+
"User:Sapphaline/sandbox": {
19168+
"title": "User:Sapphaline/sandbox",
19169+
"language": "en",
19170+
"ns": 2
19171+
},
19172+
"User:Sapphaline/ub": {
19173+
"title": "User:Sapphaline/ub",
19174+
"language": "en",
19175+
"ns": 2
19176+
},
1916219177
"User:Sarah chocoholic93/Userboxen": {
1916319178
"title": "User:Sarah chocoholic93/Userboxen",
1916419179
"language": "en",
@@ -21929,8 +21944,8 @@
2192921944
"language": "en",
2193021945
"ns": 5
2193121946
},
21932-
"Wikipedia talk:Vital articles/Level/4/Archive 51": {
21933-
"title": "Wikipedia talk:Vital articles/Level/4/Archive 51",
21947+
"Wikipedia talk:Vital articles/Level 4/Archive 51": {
21948+
"title": "Wikipedia talk:Vital articles/Level 4/Archive 51",
2193421949
"language": "en",
2193521950
"ns": 5
2193621951
},
@@ -22054,11 +22069,6 @@
2205422069
"language": "en",
2205522070
"ns": 5
2205622071
},
22057-
"Wikipedia talk:WikiProject Portals/Design/Archive 3": {
22058-
"title": "Wikipedia talk:WikiProject Portals/Design/Archive 3",
22059-
"language": "en",
22060-
"ns": 5
22061-
},
2206222072
"Wikipedia talk:WikiProject Solar System/Archive 1": {
2206322073
"title": "Wikipedia talk:WikiProject Solar System/Archive 1",
2206422074
"language": "en",
@@ -24484,13 +24494,13 @@
2448424494
"language": "en",
2448524495
"ns": 4
2448624496
},
24487-
"Wikipedia:Vital articles/Level/4/Physical sciences": {
24488-
"title": "Wikipedia:Vital articles/Level/4/Physical sciences",
24497+
"Wikipedia:Vital articles/Level 4/Physical sciences": {
24498+
"title": "Wikipedia:Vital articles/Level 4/Physical sciences",
2448924499
"language": "en",
2449024500
"ns": 4
2449124501
},
24492-
"Wikipedia:Vital articles/Level/5/Physical sciences/Astronomy": {
24493-
"title": "Wikipedia:Vital articles/Level/5/Physical sciences/Astronomy",
24502+
"Wikipedia:Vital articles/Level 5/Physical sciences/Astronomy": {
24503+
"title": "Wikipedia:Vital articles/Level 5/Physical sciences/Astronomy",
2449424504
"language": "en",
2449524505
"ns": 4
2449624506
},

tests/cli/expected/categorymembers_depth.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ Mini-Neptune (ns: 0)
111111
Solar gravitational lens (ns: 0)
112112
Super-Jupiter (ns: 0)
113113
TOI-2285 b (ns: 0)
114-
TOI-7384 b (ns: 0)
115114
Category:Fiction about planets (ns: 14)
116115
Against a Dark Background (ns: 0)
117116
Category:Fiction about Earth (ns: 14)

tests/cli/expected/help_backlinks.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ List pages that link to a Wikipedia page.
44

55
TITLE is the Wikipedia page title.
66

7-
Examples:
8-
wikipedia-api backlinks "Python (programming language)"
9-
wikipedia-api backlinks "Python (programming language)" --json
7+
\b Examples: wikipedia-api backlinks "Python (programming language)"
8+
wikipedia-api backlinks "Python (programming language)" --json r
109

1110
Options:
1211
-l, --language TEXT Language edition of Wikipedia (e.g. en, cs,

tests/cli/expected/help_categories.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ List categories for a Wikipedia page.
44

55
TITLE is the Wikipedia page title.
66

7-
Examples:
8-
wikipedia-api categories "Python (programming language)"
9-
wikipedia-api categories "Python (programming language)" --json
7+
\b Examples: wikipedia-api categories "Python (programming language)"
8+
wikipedia-api categories "Python (programming language)" --json r
109

1110
Options:
1211
-l, --language TEXT Language edition of Wikipedia (e.g. en, cs,

tests/cli/expected/help_categorymembers.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ TITLE is the category page title (e.g. "Category:Physics").
66

77
Use --max-level to recursively list subcategory members.
88

9-
Examples:
10-
wikipedia-api categorymembers "Category:Physics"
9+
\b Examples: wikipedia-api categorymembers "Category:Physics"
1110
wikipedia-api categorymembers "Category:Physics" --max-level 1
12-
wikipedia-api categorymembers "Category:Physics" --json
11+
wikipedia-api categorymembers "Category:Physics" --json r
1312

1413
Options:
1514
--max-level INTEGER Maximum depth for recursive category member

tests/cli/expected/help_langlinks.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ Shows the page title in other language editions of Wikipedia.
66

77
TITLE is the Wikipedia page title.
88

9-
Examples:
10-
wikipedia-api langlinks "Python (programming language)"
11-
wikipedia-api langlinks "Python (programming language)" --json
9+
\b Examples: wikipedia-api langlinks "Python (programming language)"
10+
wikipedia-api langlinks "Python (programming language)" --json r
1211

1312
Options:
1413
-l, --language TEXT Language edition of Wikipedia (e.g. en, cs,

tests/cli/expected/help_links.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ List pages linked from a Wikipedia page.
44

55
TITLE is the Wikipedia page title.
66

7-
Examples:
8-
wikipedia-api links "Python (programming language)"
9-
wikipedia-api links "Python (programming language)" --json
7+
\b Examples: wikipedia-api links "Python (programming language)"
8+
wikipedia-api links "Python (programming language)" --json r
109

1110
Options:
1211
-l, --language TEXT Language edition of Wikipedia (e.g. en, cs,

tests/cli/expected/help_main.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ language links, categories, and category members.
77

88
Every command requires a TITLE argument — the Wikipedia page title.
99

10-
Examples:
11-
12-
wikipedia-api summary "Python (programming language)"
10+
Examples: \b wikipedia-api summary "Python (programming language)"
1311
wikipedia-api links "Python (programming language)" --language cs
14-
wikipedia-api categories "Python (programming language)" --json
12+
wikipedia-api categories "Python (programming language)" --json r
1513

1614
Options:
1715
--version Show the version and exit.

tests/cli/expected/help_page.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ Show metadata and existence info for a Wikipedia page.
44

55
TITLE is the Wikipedia page title.
66

7-
Examples:
8-
wikipedia-api page "Python (programming language)"
9-
wikipedia-api page "Python (programming language)" --json
7+
\b Examples: wikipedia-api page "Python (programming language)"
8+
wikipedia-api page "Python (programming language)" --json r
109

1110
Options:
1211
-l, --language TEXT Language edition of Wikipedia (e.g. en, cs,

0 commit comments

Comments
 (0)