show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles
* rebuildFileCache.php no longer creates inappropriate cache files for redirects
* (bug 23119) WikiError class and subclasses are now marked as deprecated
+* (bug 18372) $wgFileExtensions will now override $wgFileBlacklist
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
if ( $this->mFinalExtension == '' ) {
$this->mTitleError = self::FILETYPE_MISSING;
return $this->mTitle = null;
- } elseif ( $this->checkFileExtensionList( $ext, $wgFileBlacklist ) ||
- ( $wgCheckFileExtensions && $wgStrictFileExtensions &&
- !$this->checkFileExtension( $this->mFinalExtension, $wgFileExtensions ) ) ) {
+ } elseif ( ( $this->checkFileExtensionList( $ext, $wgFileBlacklist )
+ && !$this->checkFileExtensionList( $ext, $wgFileExtensions ) ) ||
+ ( $wgCheckFileExtensions && $wgStrictFileExtensions &&
+ !$this->checkFileExtension( $this->mFinalExtension, $wgFileExtensions ) ) ) {
$this->mTitleError = self::FILETYPE_BADTYPE;
return $this->mTitle = null;
}