You are trying to access a directory "$1". Only file access is allowed.
MediaWiki:Img-auth-isdir
From HOP house of papers
You are trying to access a directory "$1". Only file access is allowed.