r102753 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102752‎ | r102753 | r102754 >
Date:04:52, 11 November 2011
Author:santhosh
Status:ok
Tags:
Comment:
Modified paths:
  • /trunk/extensions/WebFonts/resources/ext.webfonts.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WebFonts/resources/ext.webfonts.js
@@ -293,7 +293,7 @@
294294 var $resetLabel = $( '<label>' )
295295 .attr( 'for', 'webfont-none' )
296296 .append( $resetLink )
297 - .append( mw.msg( 'webfonts-reset' ) );
 297+ .append( mw.message( 'webfonts-reset' ).escaped() );
298298
299299 var $resetLinkItem = $( '<li>' )
300300 .val( 'none' )
@@ -310,7 +310,7 @@
311311 var $div = $( '<div>' )
312312 .attr( 'id', 'webfonts-menu' )
313313 .addClass( 'webfontMenu' )
314 - .append( $( '<a>' ).prop( 'href', '#' ).append( mw.msg( 'webfonts-load' ) ) )
 314+ .append( $( '<a>' ).prop( 'href', '#' ).text( mw.message( 'webfonts-load' ).escaped() ) )
315315 .append( $menuDiv );
316316
317317 // This is the fonts link

Status & tagging log