mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +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' );
|
||
|
} );
|