}
// Normalise title-case input (with some inlining)
- $lckey = strtr( $key, ' ', '_');
+ $lckey = strtr( $key, ' ', '_' );
if ( ord( $key ) < 128 ) {
$lckey[0] = strtolower( $lckey[0] );
$uckey = ucfirst( $lckey );
}
// Post-processing if the message exists
- if( $message !== false ) {
+ if ( $message !== false ) {
// Fix whitespace
$message = str_replace(
array(
*
* @param string $title Message cache key with initial uppercase letter.
* @param string $code Code denoting the language to try.
- * @return string|bool The message, or false iff it does not exist or on error
+ * @return string|bool The message, or false if it does not exist or on error
*/
function getMsgFromNamespace( $title, $code ) {
$this->load( $code );