Skip to content

Commit 591ba42

Browse files
Update CLI test fixtures [automated]
1 parent f525c56 commit 591ba42

17 files changed

Lines changed: 74 additions & 62 deletions

tests/cli/expected/backlinks_en.txt

Lines changed: 10 additions & 6 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
@@ -1517,6 +1517,7 @@ Portal:Solar System/Selected article/27
15171517
Portal:Solar System/Selected picture
15181518
Portal:Solar System/Solar System topics
15191519
Portal:Solar System/Solar System topics/imagebox
1520+
Portal:Somerset
15201521
Portal:Somerset/Did you know
15211522
Portal:Somerset/Did you know/2
15221523
Portal:Somerset/Nominate/Did you know
@@ -1856,6 +1857,7 @@ Talk:New Horizons/Archive 2
18561857
Talk:New York City/Archive 16
18571858
Talk:Ninth planet (disambiguation)
18581859
Talk:Orbit/Archive 1
1860+
Talk:Orcus (dwarf planet)
18591861
Talk:Orders of magnitude (pressure)
18601862
Talk:PLUTO
18611863
Talk:Pamela Geller/Archive 7
@@ -1878,7 +1880,7 @@ Talk:Planets in astrology
18781880
Talk:Pluto
18791881
Talk:Pluto (Disney)/Archive 1
18801882
Talk:Pluto (disambiguation)
1881-
Talk:Pluto (mythology)
1883+
Talk:Pluto (mythology)/Archive 1
18821884
Talk:Pluto in fiction
18831885
Talk:Pluto/Archive 1
18841886
Talk:Pluto/Archive 2
@@ -2293,6 +2295,7 @@ User talk:Rowan iF
22932295
User talk:Ryulong/Archive 3
22942296
User talk:Ryulong/Archive 4
22952297
User talk:ST47/Archive1
2298+
User talk:Sapphaline
22962299
User talk:Sds6065
22972300
User talk:Serendipodous/Solar System
22982301
User talk:Serendipodous/User talk:Serendipodous archive 10
@@ -3702,7 +3705,6 @@ User:PvtHudson IV
37023705
User:Pwillows
37033706
User:Pythagorean Theorem
37043707
User:Python187
3705-
User:PÆon/Sandbox
37063708
User:QN/tamrin
37073709
User:Qrstw
37083710
User:RP88/Images
@@ -3830,6 +3832,8 @@ User:Sandmouse/userboxes
38303832
User:Sanja Simat
38313833
User:Santhosh06udaya/Books/Universe
38323834
User:Sapienyia
3835+
User:Sapphaline/sandbox
3836+
User:Sapphaline/ub
38333837
User:Sarah chocoholic93/Userboxen
38343838
User:Saraid
38353839
User:Sarathvk
@@ -4384,7 +4388,7 @@ Wikipedia talk:Verifiability/RfC
43844388
Wikipedia talk:Vital articles/Archive 1
43854389
Wikipedia talk:Vital articles/Archive 14
43864390
Wikipedia talk:Vital articles/Archive 2
4387-
Wikipedia talk:Vital articles/Level/4/Archive 51
4391+
Wikipedia talk:Vital articles/Level 4/Archive 51
43884392
Wikipedia talk:WikiProject Astronomical objects/Archive 10
43894393
Wikipedia talk:WikiProject Astronomical objects/Archive 20
43904394
Wikipedia talk:WikiProject Astronomical objects/Archive 25
@@ -4895,8 +4899,8 @@ Wikipedia:Village pump (policy)/Archive 203
48954899
Wikipedia:Village pump (policy)/Archive 208
48964900
Wikipedia:Village pump (technical)/Archive 139
48974901
Wikipedia:Village pump (technical)/Archive 162
4898-
Wikipedia:Vital articles/Level/4/Physical sciences
4899-
Wikipedia:Vital articles/Level/5/Physical sciences/Astronomy
4902+
Wikipedia:Vital articles/Level 4/Physical sciences
4903+
Wikipedia:Vital articles/Level 5/Physical sciences/Astronomy
49004904
Wikipedia:Vital articles/List of all articles
49014905
Wikipedia:Vital articles/List of all level 1–4 vital articles
49024906
Wikipedia:Vital articles/Popular pages

tests/cli/expected/backlinks_en_json.txt

Lines changed: 38 additions & 18 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",
@@ -7594,6 +7594,11 @@
75947594
"language": "en",
75957595
"ns": 100
75967596
},
7597+
"Portal:Somerset": {
7598+
"title": "Portal:Somerset",
7599+
"language": "en",
7600+
"ns": 100
7601+
},
75977602
"Portal:Somerset/Did you know": {
75987603
"title": "Portal:Somerset/Did you know",
75997604
"language": "en",
@@ -9289,6 +9294,11 @@
92899294
"language": "en",
92909295
"ns": 1
92919296
},
9297+
"Talk:Orcus (dwarf planet)": {
9298+
"title": "Talk:Orcus (dwarf planet)",
9299+
"language": "en",
9300+
"ns": 1
9301+
},
92929302
"Talk:Orders of magnitude (pressure)": {
92939303
"title": "Talk:Orders of magnitude (pressure)",
92949304
"language": "en",
@@ -9399,8 +9409,8 @@
93999409
"language": "en",
94009410
"ns": 1
94019411
},
9402-
"Talk:Pluto (mythology)": {
9403-
"title": "Talk:Pluto (mythology)",
9412+
"Talk:Pluto (mythology)/Archive 1": {
9413+
"title": "Talk:Pluto (mythology)/Archive 1",
94049414
"language": "en",
94059415
"ns": 1
94069416
},
@@ -11474,6 +11484,11 @@
1147411484
"language": "en",
1147511485
"ns": 3
1147611486
},
11487+
"User talk:Sapphaline": {
11488+
"title": "User talk:Sapphaline",
11489+
"language": "en",
11490+
"ns": 3
11491+
},
1147711492
"User talk:Sds6065": {
1147811493
"title": "User talk:Sds6065",
1147911494
"language": "en",
@@ -18519,11 +18534,6 @@
1851918534
"language": "en",
1852018535
"ns": 2
1852118536
},
18522-
"User:PÆon/Sandbox": {
18523-
"title": "User:PÆon/Sandbox",
18524-
"language": "en",
18525-
"ns": 2
18526-
},
1852718537
"User:QN/tamrin": {
1852818538
"title": "User:QN/tamrin",
1852918539
"language": "en",
@@ -19159,6 +19169,16 @@
1915919169
"language": "en",
1916019170
"ns": 2
1916119171
},
19172+
"User:Sapphaline/sandbox": {
19173+
"title": "User:Sapphaline/sandbox",
19174+
"language": "en",
19175+
"ns": 2
19176+
},
19177+
"User:Sapphaline/ub": {
19178+
"title": "User:Sapphaline/ub",
19179+
"language": "en",
19180+
"ns": 2
19181+
},
1916219182
"User:Sarah chocoholic93/Userboxen": {
1916319183
"title": "User:Sarah chocoholic93/Userboxen",
1916419184
"language": "en",
@@ -21929,8 +21949,8 @@
2192921949
"language": "en",
2193021950
"ns": 5
2193121951
},
21932-
"Wikipedia talk:Vital articles/Level/4/Archive 51": {
21933-
"title": "Wikipedia talk:Vital articles/Level/4/Archive 51",
21952+
"Wikipedia talk:Vital articles/Level 4/Archive 51": {
21953+
"title": "Wikipedia talk:Vital articles/Level 4/Archive 51",
2193421954
"language": "en",
2193521955
"ns": 5
2193621956
},
@@ -24484,13 +24504,13 @@
2448424504
"language": "en",
2448524505
"ns": 4
2448624506
},
24487-
"Wikipedia:Vital articles/Level/4/Physical sciences": {
24488-
"title": "Wikipedia:Vital articles/Level/4/Physical sciences",
24507+
"Wikipedia:Vital articles/Level 4/Physical sciences": {
24508+
"title": "Wikipedia:Vital articles/Level 4/Physical sciences",
2448924509
"language": "en",
2449024510
"ns": 4
2449124511
},
24492-
"Wikipedia:Vital articles/Level/5/Physical sciences/Astronomy": {
24493-
"title": "Wikipedia:Vital articles/Level/5/Physical sciences/Astronomy",
24512+
"Wikipedia:Vital articles/Level 5/Physical sciences/Astronomy": {
24513+
"title": "Wikipedia:Vital articles/Level 5/Physical sciences/Astronomy",
2449424514
"language": "en",
2449524515
"ns": 4
2449624516
},

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)