PLA-1296 fix cause of disabled uploads on some wikis

@jacekjursza @wsuchy @ArturD