mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
Remove mentions of schema.* ResourceLoader modules
These modules are deprecated and will be removed, see parent task for details and deprecation information. Bug: T223286 Change-Id: I72a1ab68f94842b2fa9bcd84c21ea736a48e0614
This commit is contained in:
parent
ef6b6b70be
commit
7d61121793
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@ composer.lock
|
|||
vendor
|
||||
node_modules/
|
||||
.eslintcache
|
||||
package-lock.json
|
||||
|
||||
# Editors
|
||||
*.kate-swp
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
};
|
||||
|
||||
function logEditEvent( action, data ) {
|
||||
if ( mw.loader.getState( 'schema.EditAttemptStep' ) === null ) {
|
||||
if ( mw.loader.getState( 'ext.eventLogging' ) === null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
mw.loader.using( [ 'schema.EditAttemptStep', 'ext.eventLogging.subscriber' ] ).done( function () {
|
||||
mw.loader.using( [ 'ext.eventLogging' ] ).done( function () {
|
||||
// Sampling
|
||||
// We have to do this on the client too because the unload handler
|
||||
// can cause an editingSessionId to be generated on the client
|
||||
|
|
Loading…
Reference in a new issue