You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api_params/index.d.ts
+27-12Lines changed: 27 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -475,7 +475,7 @@ declare global {
475
475
*/
476
476
userid?: number;
477
477
/**
478
-
* Expiry time. May be relative (e.g. `5 months` or `2 weeks`) or absolute (e.g. `2014-09-18T12:34:56Z`). If set to `infinite`, `indefinite`, or `never`, the block will never expire.
478
+
* Expiry time. May be relative (e.g. `5 months` or `2 weeks`) or absolute (e.g. the current timestamp). If set to `infinite`, `indefinite`, or `never`, the block will never expire.
479
479
*
480
480
* Defaults to `never`.
481
481
*/
@@ -2988,7 +2988,7 @@ declare global {
2988
2988
| "wmf-researcher"
2989
2989
>;
2990
2990
/**
2991
-
* Expiry timestamps. May be relative (e.g. `5 months` or `2 weeks`) or absolute (e.g. `2014-09-18T12:34:56Z`). If only one timestamp is set, it will be used for all groups passed to the `add` parameter. Use `infinite`, `indefinite`, `infinity`, or `never` for a never-expiring user group.
2991
+
* Expiry timestamps. May be relative (e.g. `5 months` or `2 weeks`) or absolute (e.g. the current timestamp). If only one timestamp is set, it will be used for all groups passed to the `add` parameter. Use `infinite`, `indefinite`, `infinity`, or `never` for a never-expiring user group.
2992
2992
*
2993
2993
* Defaults to `infinite`.
2994
2994
*/
@@ -4341,6 +4341,10 @@ declare global {
4341
4341
* Show only pages created by username.
4342
4342
*/
4343
4343
username?: string;
4344
+
/**
4345
+
* Show only pages with this keyword in the snippet.
4346
+
*/
4347
+
keyword?: string;
4344
4348
/**
4345
4349
* Show only pages created on this date and after.
4346
4350
*/
@@ -4490,6 +4494,10 @@ declare global {
4490
4494
* Include only pages created by username.
4491
4495
*/
4492
4496
username?: string;
4497
+
/**
4498
+
* Include only pages with this keyword in the snippet.
4499
+
*/
4500
+
keyword?: string;
4493
4501
/**
4494
4502
* Include only pages created on this date and after.
4495
4503
*/
@@ -6953,7 +6961,7 @@ declare global {
6953
6961
*/
6954
6962
add?: string | string[];
6955
6963
/**
6956
-
* Expiry timestamps. May be relative (e.g. `5 months` or `2 weeks`) or absolute (e.g. `2014-09-18T12:34:56Z`). If only one timestamp is set, it will be used for all groups passed to the `add` parameter. Use `infinite`, `indefinite`, `infinity`, or `never` for a never-expiring user group.
6964
+
* Expiry timestamps. May be relative (e.g. `5 months` or `2 weeks`) or absolute (e.g. the current timestamp). If only one timestamp is set, it will be used for all groups passed to the `add` parameter. Use `infinite`, `indefinite`, `infinity`, or `never` for a never-expiring user group.
6957
6965
*
6958
6966
* Defaults to `infinite`.
6959
6967
*/
@@ -7642,6 +7650,13 @@ declare global {
7642
7650
property?: string;
7643
7651
/**
7644
7652
* The options the formatter should use. Provided as a JSON object.
7653
+
*
7654
+
* The supported options are:
7655
+
*
7656
+
* - **lang**: The language in which the value should be formatted (a MediaWiki language code).
7657
+
* - **applyRounding**: Whether to apply rounding to the number. Can be a boolean (automatic / no rounding) or an integer (exponent of the last significant decimal digits). Only useful for quantity values.
7658
+
* - **applyUnit**: Whether to include the unit in the output (a boolean). Only useful for quantity values.
7659
+
* - **showcalendar**: Whether to show the calendar model. Can be a boolean (always / never show) or the string `"auto"` (automatically determine whether to show). Only useful for time values.
7645
7660
*/
7646
7661
options?: string;
7647
7662
}
@@ -15080,7 +15095,7 @@ declare global {
15080
15095
*/
15081
15096
grlelists?: number | number[];
15082
15097
/**
15083
-
* Show list entries that have been changed since this timestamp. Must be after `2024-10-01T09:34:17Z`.
15098
+
* Show list entries that have been changed since this timestamp. Must be after the current timestamp.
15084
15099
*/
15085
15100
grlechangedsince?: string;
15086
15101
/**
@@ -20853,11 +20868,11 @@ declare global {
20853
20868
}
20854
20869
20855
20870
/**
20856
-
* Fetch campaign data for the campaign defined inside the page that corresponds to the given title.
20871
+
* Fetch page collection information for the given title.
20857
20872
*/
20858
20873
interface PageCollectionsMetadata extends Query {
20859
20874
/**
20860
-
* A string containing the page title for which the campaign data will be fetched.
20875
+
* A string containing the page title for which the page collection information will be fetched.
20861
20876
*/
20862
20877
titles: string | string[];
20863
20878
}
@@ -21179,7 +21194,7 @@ declare global {
21179
21194
*/
21180
21195
rlelists?: number | number[];
21181
21196
/**
21182
-
* Show list entries that have been changed since this timestamp. Must be after `2024-10-01T09:34:17Z`.
21197
+
* Show list entries that have been changed since this timestamp. Must be after the current timestamp.
21183
21198
*/
21184
21199
rlechangedsince?: string;
21185
21200
/**
@@ -22876,7 +22891,7 @@ declare global {
22876
22891
*/
22877
22892
rltitle?: string;
22878
22893
/**
22879
-
* Show lists that have been changed since this timestamp. Must be after `2024-10-01T09:34:20Z`. Clients should use the timestamp returned in the `readinglists-synctimestamp` field from an earlier call if they want to ensure that no changes are missed, and should be prepared to receive changes that have already been returned in an earlier response, and handle them in an idempotent way.
22894
+
* Show lists that have been changed since this timestamp. Must be after the current timestamp. Clients should use the timestamp returned in the `readinglists-synctimestamp` field from an earlier call if they want to ensure that no changes are missed, and should be prepared to receive changes that have already been returned in an earlier response, and handle them in an idempotent way.
22880
22895
*/
22881
22896
rlchangedsince?: string;
22882
22897
/**
@@ -25596,7 +25611,7 @@ declare global {
25596
25611
*/
25597
25612
grlelists?: number | number[];
25598
25613
/**
25599
-
* Show list entries that have been changed since this timestamp. Must be after `2024-10-01T09:34:17Z`.
25614
+
* Show list entries that have been changed since this timestamp. Must be after the current timestamp.
25600
25615
*/
25601
25616
grlechangedsince?: string;
25602
25617
/**
@@ -29157,7 +29172,7 @@ declare global {
29157
29172
*/
29158
29173
grlelists?: number | number[];
29159
29174
/**
29160
-
* Show list entries that have been changed since this timestamp. Must be after `2024-10-01T09:34:17Z`.
29175
+
* Show list entries that have been changed since this timestamp. Must be after the current timestamp.
29161
29176
*/
29162
29177
grlechangedsince?: string;
29163
29178
/**
@@ -32575,7 +32590,7 @@ declare global {
32575
32590
*/
32576
32591
grlelists?: number | number[];
32577
32592
/**
32578
-
* Show list entries that have been changed since this timestamp. Must be after `2024-10-01T09:34:17Z`.
32593
+
* Show list entries that have been changed since this timestamp. Must be after the current timestamp.
32579
32594
*/
32580
32595
grlechangedsince?: string;
32581
32596
/**
@@ -35993,7 +36008,7 @@ declare global {
35993
36008
*/
35994
36009
grlelists?: number | number[];
35995
36010
/**
35996
-
* Show list entries that have been changed since this timestamp. Must be after `2024-10-01T09:34:17Z`.
36011
+
* Show list entries that have been changed since this timestamp. Must be after the current timestamp.
0 commit comments