Fix MediaWiki:Licenses requirement

Fix change I364f48f387d5987ba2b93e90ea6b2a3c5de1461d
It needs to check for the message in the site language,
else uploading is disabled when using a different user language.

Change-Id: Ife55252fa3a8c575d13c41420814f42b914aa90d