"Wikinaut" posted a comment on MediaWiki.r111350.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/111350#c31176

Commit summary for MediaWiki.r111350:

fix for bug30377 : add a new parameter to limit the number of characters when 
rendering the channel item <description>

Wikinaut's comment:

Source / and my Reference: 

https://www.mediawiki.org/w/index.php?title=Manual:Coding_conventions&oldid=426301


<pre>
There are some exceptions, such as switch statements, where the indentation of 
the cases are optional, so both of the below are fine.

        switch ( $mimetype ) {
        case 'text/xml':
        case 'application/xhtml+xml':
        case 'application/xml':
                return true;
        default:
                return false;
        }

        switch ( $mimetype ) {
                case 'text/xml':
                case 'application/xhtml+xml':
                case 'application/xml':
                        return true;
                default:
                        return false;
        }

</pre>

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

Reply via email to