r73049 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73048‎ | r73049 | r73050 >
Date:02:17, 15 September 2010
Author:tparscal
Status:ok
Tags:
Comment:
Fixed use of old mw.usability.getMsg in favor of mediaWiki.msg.get
Modified paths:
  • /trunk/extensions/Vector/modules/vector.editWarning.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Vector/modules/vector.editWarning.js
@@ -34,7 +34,7 @@
3535 $( '#wpSummary' ).data( 'origtext' ) != $( '#wpSummary' ).val()
3636 ) {
3737 // Return our message
38 - retval = mw.usability.getMsg( 'vector-editwarning-warning' );
 38+ retval = mediaWiki.msg.get( 'vector-editwarning-warning' );
3939 }
4040 }
4141

Status & tagging log