"Kaldari" posted a comment on MediaWiki.r109786.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/109786#c30130

Commit summary for MediaWiki.r109786:

[ApiSandbox] bug fix
* Looks like API is returning HTML here, got a couple of <br> and <li>'s
* Wrapping parens only if there is a link, got a couple of loose () before

Kaldari's comment:

Perhaps they're trying to do something like:

 descHtml.replace( /\s*[\r\n\.]+\s*/g, ' ' )

I'm pretty sure the existing code will never do anything.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to