Remove "Talk:" prefix from "You have new messages"

Bug: 49324
Change-Id: I51d9fc5c891d4489fcb5bce74b0428575f1df7f6
This commit is contained in:
Kunal Mehta 2013-10-18 00:21:55 -07:00
parent 0024b000ff
commit 790f4bee9e
2 changed files with 1 additions and 4 deletions

View file

@ -212,7 +212,6 @@ $wgResourceModules += array(
),
'messages' => array(
'echo-new-messages',
'colon-separator',
),
),
'ext.echo.badge' => $echoResourceTemplate + array(

View file

@ -3,10 +3,8 @@
// TODO: What is this extra echoNewMsgAlertDisplayed check for? This should only run once
// and that variable isn't used anywhere else in the repository.
if ( mw.config.get( 'wgUserNewMsgRevisionId' ) && !mw.config.get( 'echoNewMsgAlertDisplayed' ) ) {
var alertMessage = mw.html.escape( mw.msg( 'colon-separator' ) + mw.msg( 'echo-new-messages' ) );
$( '#pt-mytalk a' )
.append( alertMessage )
.text( mw.msg( 'echo-new-messages' ) )
.addClass( 'mw-echo-alert' );
mw.config.set( 'echoNewMsgAlertDisplayed', true );