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