mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-18 19:55:55 +00:00
15 lines
367 B
JavaScript
15 lines
367 B
JavaScript
|
/*global mw */
|
||
|
mw.loader.using( 'schema.GenderSurvey', function () {
|
||
|
ve.init.mw.genderSurvey = {
|
||
|
logAndEndTour: function ( buttonType ) {
|
||
|
mw.eventLog.logEvent( 'GenderSurvey', {
|
||
|
userId: mw.config.get( 'wgUserId' ),
|
||
|
buttonType: buttonType
|
||
|
} );
|
||
|
mw.guidedTour.endTour( 'vegendersurvey' );
|
||
|
}
|
||
|
};
|
||
|
|
||
|
mw.guidedTour.launchTour( 'vegendersurvey' );
|
||
|
} );
|