PLA-1368 Fix display of WAM images on non-english language wikis

Review and Merge this PR only after #3315 is merged as most of the commits belong there