- // See if this is a public Wiki (no protections).
- if ( $wgImgAuthPublicTest && $publicWiki ) {
- // This is a public wiki, so disable this script (for private wikis only)
- wfForbidden( 'img-auth-accessdenied', 'img-auth-public' );
- return;
- }
-