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

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89958#c23151
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:

It's the exception handling which needs help. May be, that it worked in former 
times, but not now.

Lqt API 
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LiquidThreads/api/ApiThreadAction.php
 has already tons of broken code à la
<pre>
381     // Check for text
382     if ( empty( $params['text'] ) ) {
383     $this->dieUsage( 'You must include text in your post', 'no-text' );
384     }
385     $text = $params['text'];
</pre>
which is not working, this needs to be fixed.

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

Reply via email to