Merge "Clunky workaround for putting link into escaped message"

This commit is contained in:
jenkins-bot
2015-03-27 08:23:58 +00:00
committed by Gerrit Code Review

View File

@@ -230,7 +230,7 @@
// Get the html of the link by wrapping it in div first // Get the html of the link by wrapping it in div first
link = $( '<div>' ).html( link ).html(); link = $( '<div>' ).html( link ).html();
return mw.msg( 'ext-uls-undo-language-tooltip-text', link ); return mw.message( 'ext-uls-undo-language-tooltip-text', '$1' ).escaped().replace( '$1', link );
} }
} ); } );