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