Update for MW 1.24 compatibilty

getLocalUrl returns escaped content