Changes

MediaWiki:Common.js

64 bytes added, 00:59, 16 November 2023
Fixing mistakes with replacement in general in previous edits
phrases.forEach(function (phrase){
const currency = phrase.match(/Gem|Gold|Defender Medal/i).toString()
element.innerHTML const replacement = element.innerHTMLphrase.replace(currencyRegex, currencyIcons[currency] + " $2$3") element.innerHTML = element.innerHTML.replace(phrase, replacement)
})
})
WikiDefender, bureaucrat, administrator
618
edits