Manual:$wgImgAuthPublicTest
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.24.0</tvar>.</translate> |
<translate> Files and file uploads</translate>: $wgImgAuthPublicTest | |
---|---|
Test to see if img_auth set up correctly (img_auth only) |
|
<translate> Introduced in version:</translate> | 1.16.0 (r55800) |
<translate> Removed in version:</translate> | 1.24.0 (Gerrit change 127701; git #5252460f) |
<translate> Allowed values:</translate> | (boolean) |
<translate> Default value:</translate> | true |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
This configuration variable is only applicable if you are using Image Authorization.
It forces a preliminary check to see if the wiki is a full public wiki ($wgGroupPermissions['*']['read'] = true;
) because you really don't need to use Image Authorization if you have a public wiki.
MediaWiki will warn you about an incorrect configuration when this is set.
However, there are cases where the default is for full public access, but access restrictions apply (such as only approved users can edit, ...). If that is the case, you will need to set this to false in order for the configuration check to be bypassed.
This functionality was brought forward from the img_auth.php prior to 1.16.
References
- r55800 (2009-09-03)
- 1.16.0 change log