Commit be70f40
authored
Cast subject page to a Title if it isn't one (#827)
* Cast subject page to a Title if it isn't one
This fixes "TypeError: Maps\MapsFactory::newSemanticGeoJsonStore(): Argument #2 ($subjectPage) must be of type MediaWiki\Title\Title, MediaWiki\Page\PageIdentityValue given"
Raise MW requirement to 1.41.
* Raise MW requirement to 1.43
1.40-1.42 have been EOL for a while.
Also remove redundant PHP requirement, since MW 1.43 requires PHP 8.
* Only run CI on MW 1.43, 1.44 and master1 parent bdbbabc commit be70f40
File tree
3 files changed
+11
-19
lines changed- .github/workflows
- src/GeoJsonPages
3 files changed
+11
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 17 | | |
30 | 18 | | |
31 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
32 | 23 | | |
33 | 24 | | |
34 | 25 | | |
| |||
83 | 74 | | |
84 | 75 | | |
85 | 76 | | |
86 | | - | |
87 | 77 | | |
88 | 78 | | |
89 | 79 | | |
90 | 80 | | |
91 | 81 | | |
92 | | - | |
93 | 82 | | |
94 | 83 | | |
95 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | | - | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
0 commit comments