* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with LanguageConverter class)
* Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with LanguageConverter class)
* (bug 16968) Special:Upload no longer throws useless warnings.
+* (bug 15470) Special:Upload no longer force-capitalizes titles
== API changes in 1.15 ==
* (bug 16798) JSON encoding errors for some characters outside the BMP
* to ensure that client-side caches don't keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '196';
+$wgStyleVersion = '197';
# Server-side caching:
if ( ! $this->mIgnoreWarning ) {
$warning = '';
+ global $wgCapitalLinks;
+ if ( $wgCapitalLinks ) ucfirst( $basename );
+
if( str_replace( ' ', '_', $basename ) != $filtered ) {
$warning .= '<li>'.wfMsgHtml( 'badfilename', htmlspecialchars( $this->mDestName ) ).'</li>';
}
fname = path.substring(backslash+1, 10000);
}
- // Capitalise first letter and replace spaces by underscores
- fname = fname.charAt(0).toUpperCase().concat(fname.substring(1,10000)).replace(/ /g, '_');
+ // Replace spaces by underscores
+ fname = fname.replace(/ /g, '_');
// Output result
var destFile = document.getElementById('wpDestFile');