if ( !$this->mKeys ) {
$this->mKeys = array();
foreach ( $wgAllMessagesEn as $key => $value ) {
- array_push( $this->mKeys, $wgContLang->ucfirst( $key ) );
+ global $wgCapitalLinks;
+ $title = $wgCapitalLinks ? $wgContLang->ucfirst( $key ) : $key;
+ array_push( $this->mKeys, $title );
}
}
return $this->mKeys;
$message = false;
if( !$this->mDisable && $useDB ) {
- $title = $lang->ucfirst( $key );
+ global $wgCapitalLinks;
+ $title = $wgCapitalLinks ? $lang->ucfirst( $key ) : $key;
if( $langcode != $wgContLanguageCode ) {
$title .= '/' . $langcode;
}