Skip to content

Commit 1f07927

Browse files
authored
Release version 1.6.0 (#74)
Release version 1.6.0
2 parents 258356b + d1c91da commit 1f07927

37 files changed

+1782
-691
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
path: ~/.composer/cache
5555
key: composer-php${{ matrix.php }}
5656

57-
- uses: actions/checkout@v4
57+
- uses: actions/checkout@v5
5858
with:
5959
path: EarlyCopy
6060

@@ -63,7 +63,7 @@ jobs:
6363
working-directory: ~
6464
run: bash EarlyCopy/.github/workflows/installWiki.sh ${{ matrix.mw }}
6565

66-
- uses: actions/checkout@v4
66+
- uses: actions/checkout@v5
6767
with:
6868
path: mediawiki/extensions/RobloxAPI
6969

.github/workflows/lint-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
lint-check:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212
- name: Installing PHP
1313
uses: shivammathur/setup-php@master
1414
with:

.gitreview

Lines changed: 0 additions & 6 deletions
This file was deleted.

SECURITY.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
| Version | Supported | Notes |
88
|---------|-----------|------------------|
9-
| 1.5.0 || Latest release |
10-
| 1.4.0 || Upgrade to 1.5.0 |
11-
| 1.3.0 || Upgrade to 1.5.0 |
9+
| 1.6.0 || Latest release |
10+
| 1.5.0 || Upgrade to 1.6.0 |
11+
| 1.4.0 || Upgrade to 1.6.0 |
12+
| 1.3.0 || |
1213
| 1.2.0 || |
1314
| 1.1.0 || |
1415
| 1.0.0 || |

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require-dev": {
33
"mediawiki/mediawiki-codesniffer": "47.0.0",
4-
"mediawiki/mediawiki-phan-config": "0.16.0",
4+
"mediawiki/mediawiki-phan-config": "0.17.0",
55
"mediawiki/minus-x": "1.1.3",
66
"php-parallel-lint/php-console-highlighter": "1.0.0",
77
"php-parallel-lint/php-parallel-lint": "1.4.0"

extension.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "RobloxAPI",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"author": [
55
"SomeRandomDeveloper"
66
],
@@ -90,7 +90,7 @@
9090
}
9191
},
9292
"ConfigRegistry": {
93-
"RobloxAPI": "GlobalVarConfig::newInstance"
93+
"RobloxAPI": "MediaWiki\\Config\\GlobalVarConfig::newInstance"
9494
},
9595
"ExtensionMessagesFiles": {
9696
"RobloxAPIMagic": "RobloxAPI.i18n.magic.php"
@@ -99,7 +99,8 @@
9999
"RobloxAPIHooks": {
100100
"class": "MediaWiki\\Extension\\RobloxAPI\\Hooks",
101101
"services": [
102-
"ConfigFactory"
102+
"ConfigFactory",
103+
"RobloxAPI.DataSourceProvider"
103104
]
104105
}
105106
},
@@ -112,5 +113,12 @@
112113
"i18n"
113114
]
114115
},
116+
"TrackingCategories": [
117+
"robloxapi-category-deprecated-parser-function",
118+
"robloxapi-category-error"
119+
],
120+
"ServiceWiringFiles": [
121+
"src/ServiceWiring.php"
122+
],
115123
"manifest_version": 2
116124
}

i18n/en.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"robloxapi-error-no-arguments": "Please provide a valid data source!",
99
"robloxapi-error-invalid-id": "Invalid ID value \"$1\"!",
1010
"robloxapi-error-invalid-data": "Endpoint returned invalid data!",
11-
"robloxapi-error-decode-failure": "Failed to decode response!",
11+
"robloxapi-error-decode-failure": "Failed to decode response!",
1212
"robloxapi-error-datasource-not-found": "Data source \"$1\" not found!",
1313
"robloxapi-error-unexpected-data-structure": "Unexpected data structure!",
1414
"robloxapi-error-datasource-returned-no-data": "Data source returned no data!",
@@ -27,5 +27,9 @@
2727
"robloxapi-error-invalid-user-games-limit": "Invalid limit \"$1\"! Must be 10, 25 or 50.",
2828
"robloxapi-error-invalid-sort-order": "Invalid sort order \"$1\"! Must be \"Asc\" or \"Desc\".",
2929
"robloxapi-error-usage-limit": "The \"$1\" data source can only be used $2 times per page!",
30-
"robloxapi-error-usage-limit-dependent": "The \"$1\" data source (called through dependent data source $3) can only be used $2 times per page!"
30+
"robloxapi-error-usage-limit-dependent": "The \"$1\" data source (called through dependent data source \"$3\") can only be used $2 times per page!",
31+
"robloxapi-category-deprecated-parser-function": "Pages using deprecated RobloxAPI parser functions",
32+
"robloxapi-category-deprecated-parser-function-desc": "The page uses a deprecated parser function provided by the RobloxAPI extension.",
33+
"robloxapi-category-error": "Pages with RobloxAPI errors",
34+
"robloxapi-category-error-desc": "The page uses the <code>{{#robloxAPI}}</code> parser function incorrectly, resulting in an error."
3135
}

i18n/qqq.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,9 @@
2727
"robloxapi-error-invalid-user-games-limit": "Error message shown when an invalid limit is provided for the user games data source. $1 is the invalid limit. Must be 10, 25 or 50",
2828
"robloxapi-error-invalid-sort-order": "Error message shown when an invalid sort order is provided. $1 is the invalid sort order. Must be 'Asc' or 'Desc'",
2929
"robloxapi-error-usage-limit": "Error message shown when trying to exceed a data source usage limit. $1 is the data source id, $2 the amount of times it can be used per page.",
30-
"robloxapi-error-usage-limit-dependent": "Error message shown when trying to exceed a data source usage limit through a dependent data source. $1 is the id of the fetcher data source, $2 the amount of times it can be used per page, $3 is the id of the dependent data source."
30+
"robloxapi-error-usage-limit-dependent": "Error message shown when trying to exceed a data source usage limit through a dependent data source. $1 is the id of the fetcher data source, $2 the amount of times it can be used per page, $3 is the id of the dependent data source.",
31+
"robloxapi-category-deprecated-parser-function": "{{Tracking category name}}\nName of the tracking category for pages that use a deprecated parser function from the RobloxAPI extension.",
32+
"robloxapi-category-deprecated-parser-function-desc": "Description of the tracking category for deprecated parser function usage.",
33+
"robloxapi-category-error": "{{Tracking category name}}\nName of the tracking category for pages where using the {{#robloxAPI}} parser function results in an error.",
34+
"robloxapi-category-error-desc": "Description of the RobloxAPI error tracking category."
3135
}

0 commit comments

Comments
 (0)