r110174 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110173‎ | r110174 | r110175 >
Date:21:57, 27 January 2012
Author:kaldari
Status:ok
Tags:
Comment:
follow-up to r109726, removing useless replace function
Modified paths:
  • /trunk/extensions/ApiSandbox/ext.apiSandbox.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ApiSandbox/ext.apiSandbox.js
@@ -365,7 +365,7 @@
366366 var linkHtml = '',
367367 descHtml = smartEscape( this.info.description );
368368 if ( this.info.helpurls && this.info.helpurls[0] ) {
369 - descHtml = descHtml.replace( /^([^\r\n\.]*)/, '$1' ) + ' ';
 369+ descHtml = descHtml + ' ';
370370 linkHtml = mw.msg( 'parentheses', mw.html.element( 'a', {
371371 'target': '_blank',
372372 'href': this.info.helpurls[0]

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109726[ApiSandbox] front-end makeover...krinkle07:10, 22 January 2012

Status & tagging log