Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:$wgStrictFileExtensions

From mediawiki.org
Translate this page
Languages:
Files and file uploads: $wgStrictFileExtensions
Toggle whether users may upload files not covered by$wgFileExtensions.
Introduced in version:1.2.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:true
Other settings:Alphabetical |By function

Details

[edit]

If set to true, users will only be able to upload files with specifically permitted extensions (see$wgFileExtensions).

If set to false, users will be able to upload files with almost any extension.A user attempting to upload a file whose extension is not in$wgFileExtensions will receive a warning message.However, they may choose to ignore the message and upload the file anyway (assuming the file's extension is not in the$wgProhibitedFileExtensions).

WarningWarning:Setting this tofalse is insecure for public wikis.

See also

[edit]
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:$wgStrictFileExtensions&oldid=7984458"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp