Changes

MediaWiki:Common.js

30 bytes added, 00:12, 16 November 2023
Attempt to fix javascript code incompatible with ES5
/* Replaces currency keywords (Gold, Gems, Defender Medals) with their icon in elements which include currency costs */
const currencyIcons = {
"Gem": `"<a href=\"/wiki/Gems\" class=\"image\"><img alt=\"Gem Icon.png\" src=\"/images/8/8d/Gem_Icon.png\" width=\"18\"></a>`", "Gold": `"<a href=\"/wiki/Gold\" class=\"image\"><img alt=\"Gold Icon.png\" src=\"/images/2/26/Gold_Icon.png\" width=\"18\"></a>`", "Defender Medal": `"<a href=\"/wiki/Defender_Medals\" class=\"image\"><img alt=\"Defender Medal Icon.png\" src=\"/images/a/a7/Defender_Medal_Icon.png\" width=\"18\"></a>`"
}
WikiDefender, bureaucrat, administrator
618
edits