This tool's literalizeRegex()
function uses mw.RegExp.escape()
, which causes the following message to be output repeatedly on the browser console:
Use of "mw.RegExp.escape" is deprecated. Use mw.util.escapeRegExp() instead.
The code at English Wikipedia has already been updated to call mw.util.escapeRegExp()
; please update from there.