I recently discovered this search and replace dialog in MediaWiki and have been using it more and more:

MediaWiki search and replace dialog

But I can't seem to find the documentation on it. On the MediaWiki website I always find info about some extension that does search and replace over an entire wiki when I try to search for this.

I can't tell which regex dialect the dialog uses or which regex features it does and doesn't support. It ought most likely to be JavaScript's dialect yet ^ didn't seem to work nor did other things I tried, so now I'm looking to read the manual, if there is one ...

  • Note, that's provided by WikiEditor. mediawiki.org/wiki/Extension:WikiEditor
    – Nemo
    Commented Apr 27, 2015 at 13:06
  • @Nemo: I was too dim to find this dialog or its regex documented there either. Could you point it out for me? Commented Apr 27, 2015 at 13:22
  • 1
    It's not documented indeed. :) I only pointed out to ease other people's code and issue tracker inspections. :)
    – Nemo
    Commented Apr 28, 2015 at 8:13

1 Answer 1


It is a plain Javascript regex. You probably made some kind of typo.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.