mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 11:46:55 +00:00
16 lines
287 B
JavaScript
16 lines
287 B
JavaScript
|
( function ( mw ) {
|
||
|
|
||
|
mw.popups.actions = {};
|
||
|
|
||
|
/**
|
||
|
* @param {Function} isUserInCondition See `mw.popups.createExperiment`
|
||
|
*/
|
||
|
mw.popups.actions.boot = function ( isUserInCondition ) {
|
||
|
return {
|
||
|
type: 'BOOT',
|
||
|
isUserInCondition: isUserInCondition()
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}( mediaWiki ) );
|