-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MediaWiki 1.42, online doc. URLs, and fixes #42
Commits on Apr 24, 2024
-
- add `$.cookie`, `$.removeCookie`, `mw.loader.addSource`, `mw.templates`, `mw.user.getFirstRegistration`, `mw.util.isInfinity` - `new mw.Api().loadMessagesIfMissing` now accepts a single `string` message key as argument - `mw.loader.impl`/`implement`/`register`/`state` are now annotated private - `mw.Map` is no longer annotated private - `body` argument of `new mw.Rest().post` is now optional - various small jsdoc fixes, either from 1.42 updates or oversights from previous PR
Adrien LESÉNÉCHAL committedApr 24, 2024 Configuration menu - View commit details
-
Copy full SHA for b73665d - Browse repository at this point
Copy the full SHA b73665dView commit details
Commits on Apr 25, 2024
-
- synchronize `mw.cookie.get` TS type with JSdoc: only allow `string|null` as argument - fix `mw.notify` not targetting the mw implementation of `NotificationOptions` - add missing JSdoc to `mw.experiments` and `mw.Rest.Options.ajax` - add missing code block language annotations
Adrien LESÉNÉCHAL committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 346d24c - Browse repository at this point
Copy the full SHA 346d24cView commit details -
Make
mw.libs
&mw.widgets
namespacesso library and widget types can be specified in this package (or other ones)
Adrien LESÉNÉCHAL committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for df4cbcf - Browse repository at this point
Copy the full SHA df4cbcfView commit details -
Add
pluralRuleParser
&tempUserCreated
typesAdrien LESÉNÉCHAL committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 54a3764 - Browse repository at this point
Copy the full SHA 54a3764View commit details -
missed some imports in the previous commits
Adrien LESÉNÉCHAL committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 62df4e6 - Browse repository at this point
Copy the full SHA 62df4e6View commit details -
Update JSdoc of `mw.template` based on MW 1.42. Some interface declarations for `TemplateCompiler` and `TemplateRenderer` were also added in JSdoc, so use these types.
Adrien LESÉNÉCHAL committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 4d35db8 - Browse repository at this point
Copy the full SHA 4d35db8View commit details -
- update types of `mw.template`, based on interfaces in MW 1.42 JSdoc - update `doc.wikimedia.org` urls to new format (with migration of source code from jsduck to jsdoc), almost all urls are currently broken - remove `doc.wikimedia.org` urls to private members (that linked to nothing, since jsdoc of private members is not generated) - add missing `doc.wikimedia.org` urls - add `doc.wikimedia.org` urls for specific `mw.hook` events, since their jsdoc is now generated - use `Special:MyLanguage` when possible with wiki urls - use `{@link some-url …}` consistently, instead of `[…](some-url)`, `<some-url>`, or plain `some-url`
Adrien LESÉNÉCHAL committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for dbb4b8b - Browse repository at this point
Copy the full SHA dbb4b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0680f01 - Browse repository at this point
Copy the full SHA 0680f01View commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61ae74e - Browse repository at this point
Copy the full SHA 61ae74eView commit details
Commits on Apr 30, 2024
-
- fix remaining `NotificationOptions` issues - move remaining Options objects to their own interfaces, so descriptions in some code editors (like VSC) only show relenvant information about the the object itself, not all of its methods and properties. This includes `JQuery.textSelection`, `mw.requestIdleCallback`, and `mw.Title.newFromUserInput` options. - synchronize `TableSorterOptions` with online doc: change its name and make all its properties optional - remove redundant jsdoc in `mw.experiments` and empty `@see` annotation in `mw.hook` - fix some jsdoc link, indent & type inconsistencies
Adrien LESÉNÉCHAL committedApr 30, 2024 Configuration menu - View commit details
-
Copy full SHA for 8e15551 - Browse repository at this point
Copy the full SHA 8e15551View commit details
Commits on May 5, 2024
-
Merge branch 'main' of https://github.com/wikimedia-gadgets/types-med…
…iawiki into main-next
Adrien LESÉNÉCHAL committedMay 5, 2024 Configuration menu - View commit details
-
Copy full SHA for d077b40 - Browse repository at this point
Copy the full SHA d077b40View commit details
Commits on May 27, 2024
-
Merge branch 'main' of https://github.com/wikimedia-gadgets/types-med…
…iawiki into main-next
Adrien LESÉNÉCHAL committedMay 27, 2024 Configuration menu - View commit details
-
Copy full SHA for 3b52099 - Browse repository at this point
Copy the full SHA 3b52099View commit details -
Fix
confirmable
options & update some URLs- fix `$().confirmable` not allowing omitting some option properties - update some jQuery plugin URLs, changed since 1.42 release
Adrien LESÉNÉCHAL committedMay 27, 2024 Configuration menu - View commit details
-
Copy full SHA for 83ced94 - Browse repository at this point
Copy the full SHA 83ced94View commit details
Commits on May 28, 2024
-
Fix
mw.util.parseImageUrl
return typeThe `resizeUrl` method may be missing, in which case the method is specified and `null`
Adrien LESÉNÉCHAL committedMay 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 21e20cc - Browse repository at this point
Copy the full SHA 21e20ccView commit details -
for consistency, missed small interfaces from previous commits wikimedia-gadgets@0680f01 Also simplify `RequiredOrUndefined` type
Adrien LESÉNÉCHAL committedMay 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 49ad52d - Browse repository at this point
Copy the full SHA 49ad52dView commit details -
- add various `@since`/`@deprecated` annotations for declarations added/modified/deprecated/removed with 1.40/1.41/1.42 - add `isoDate`/`url` tablesorter parsers, removed since 1.40 - add `jquery.tipsy` RL module, removed since 1.41 - add `mw.language.commafy`, removed since 1.40 - add missing `script` property of a RL module (not added recently, just an oversight)
Adrien LESÉNÉCHAL committedMay 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 6712c9c - Browse repository at this point
Copy the full SHA 6712c9cView commit details
Commits on May 29, 2024
-
Adrien LESÉNÉCHAL committed
May 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 4a6203c - Browse repository at this point
Copy the full SHA 4a6203cView commit details