diff --git a/resources/PortableInfoboxBuilder.js b/resources/PortableInfoboxBuilder.js index ddf9e61..b343dd1 100644 --- a/resources/PortableInfoboxBuilder.js +++ b/resources/PortableInfoboxBuilder.js @@ -212,7 +212,7 @@ } clearInfobox() { - OO.ui.confirm( mw.message( 'confirmable-confirm', mw.user.getName() ).text() ) + OO.ui.confirm( mw.message( 'confirmable-confirm', mw.config.get("wgUserName") ).text() ) .done( ( confirmed ) => { if ( confirmed ) { this.deselect();