User "Werdna" posted a comment on MediaWiki.r89958.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89958#c23149
Commit summary:

fix for bug29200 - Creation of new thread fails silently if no content is 
entered, but this should be possible. Solution: add automatically thread title 
as comment to new page

Comment:

Did you read the commit I made?

<code>
+               if ( text.trim().length == 0 ) {
+                       alert(mediaWiki.msg('lqt-empty-text'));
+                       return;
+               }
</code>

That will fix the bug properly.

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

Reply via email to