Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | Feature | None | T263914 Offer TypeScript declaration files for the MediaWiki Javascript API (MediaWiki API typings) | ||
Resolved | hashar | T213282 JSDuck at doc.wikimedia.org loads fonts from google | |||
Open | None | T334853 Clean up JS code now that we can use ES6 rather than ES5 across all Wikimedia deployed codebases | |||
Open | None | T363905 Uninstall jsduck and related material from CI images etc., once it's no longer needed | |||
Open | apaskulin | T138401 Replace jsduck with JSDoc3 across all Wikimedia code bases | |||
Open | None | T262406 jsdoc-wmf-theme: All non-global classes are lacking hierarchy | |||
Resolved | apaskulin | T187672 Release jsdoc-wmf-theme 1.0 (Wikimedia theme for JSDoc3) | |||
Open | None | T207383 Inherited methods and members of mixins are missing |
Event Timeline
https://doc.wikimedia.org/oojs/master/OO.EventEmitter.html now shows the bindings private object; is this Resolved?
That link goes to the base class, this task is about inheritance.
It seems the toolbar of checkboxes broke, eg hiding private or other kinds of members doesn't actually hide them, (and we'd presumably hide private APIs by default, but that's a minor issue for later).
Looking at https://doc.wikimedia.org/oojs/master/OO.Factory.html#lookup, there's an "Inherited from" field showing the inheritance. If this information isn't visible enough, we could add a pill, similar to the "private" pill on https://doc.wikimedia.org/oojs/master/OO.EventEmitter.html.
For the mixins, there's a "Mixes in" field on https://doc.wikimedia.org/oojs/master/OO.Registry.html#Registry linking to OO.EventEmitter. But this task is indicating that we expect to see https://doc.wikimedia.org/oojs/master/OO.EventEmitter.html#bindings displayed on that page as well?
Edit: I see, bindings does appear here https://doc.wikimedia.org/oojs/v2.2.2/#!/api/OO.Registry
@apaskulin Thanks, inheritence from "extends" now indeed shows up correctly. That's much better.
On https://doc.wikimedia.org/oojs/master/OO.Factory.html I see:
- High-level: Yes, "extends OO.Registry"
- Actually listed: Yes, lookup is listed.
- Source known: Yes, for individual entries it says e.g. "Inherited from OO.Registry"
But indeed for mixins this isn't working yet. Mixin is treated more or less the same as extends in our code base, except that one can inherit from multiple and the other cannot, hence we sometimes compose with mixin instead of extends.