BAC-1234 applying WMF security fix for bug 60339
Merge pull request #2628 from Wikia/BAC-1234

WMF fix