4 const contLangMessages
= require( './contLangMessages.json' );
7 * Respond to the creation of a temporary user.
9 * @namespace mw.tempUserCreated
11 mw
.tempUserCreated
= {};
14 * Show popup after creation of a temporary user.
16 mw
.tempUserCreated
.showPopup = function () {
17 const title
= mw
.message( 'postedit-temp-created-label' ).text();
18 const $content
= mw
.message(
19 'postedit-temp-created',
20 mw
.util
.getUrl( 'Special:CreateAccount' ),
21 contLangMessages
[ 'tempuser-helppage' ]
23 mw
.notify( $content
, {
25 classes
: [ 'postedit-tempuserpopup' ],