This is still used in some MobileFrontend and DiscussionTools code. The
codesearch would be better done as
https://codesearch.wmcloud.org/search/?q=mw.eventLog.Schema&i=nope&…
I have no aversion to working to migrate those uses away from it, of
course. They're just blockers for actually deleting the class.
(I've commented to this effect on the ticket as well.)
On Thu, Apr 14, 2022 at 10:58 AM Sam Smith <samsmith(a)wikimedia.org> wrote:
Hello,
I've proposed the removal of the mw.eventLog.Schema class without
deprecation.
Patch:
https://gerrit.wikimedia.org/r/780882
Phab task:
https://phabricator.wikimedia.org/T305491
Uses:
-
https://codesearch.wmcloud.org/search/?q=%5C.Schema%5C(&files=js
-
https://global-search.toolforge.org/?q=%5C.Schema%5C%28®ex=1&nam…
The EventLogging extension provides the mw.eventLog.Schema class as part
of its JavaScript API. The class was introduced circa 2015 and was used in
a handful of extensions maintained by the Readers Web team around that
time. As of writing, however, it is not used in any Wikimedia-hosted
codebase, user script, or gadget.
Thanks,
-Sam
_______________________________________________
Wikitech-l mailing list -- wikitech-l(a)lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave(a)lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/