fix a potential NPE when using WikimediaResource
1 file changed