accidently activated when hitting enter.
* (bug 23845) Special:ListFiles now uses correct file names without underscores
* Ask for permanent login in Special:Preferences only if $wgCookieExpiration > 0
+* (bug 16356) Repair dumpInterwiki.inc to use proper normalization.
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
}
function getRebuildInterwikiDump() {
- global $langlist, $languageAliases, $prefixRewrites;
+ global $langlist, $languageAliases, $prefixRewrites, $wgContLang;
# Multi-language sites
# db suffix => db suffix, iw prefix, hostname
# Global iterwiki map
foreach ( $lines as $line ) {
if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(.*?)\s*$/', $line, $matches ) ) {
+ $prefix = $wgContLang->lc( $matches[1] );
+ $prefix = str_replace( ' ', '_', $prefix );
$prefix = strtolower( $matches[1] );
$url = $matches[2];
if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia)\.org/', $url ) ) {