Board Thread:Support Requests - Getting Technical/@comment-33878615-20160706171736/@comment-1757994-20160706182623

That would be MassRenameRevert.

The reason isn't supplied by the code. All MassRenameRevert does is essentially click on all the "revert" links in Special:Log/move. The links have the form http:// whatever .wikia.com/wiki/Special:MovePage?wpOldTitle= TheCurrentName &wpNewTitle= TheNameItUsedToHave &wpReason=revert&wpMovetalk=0

If you want to change the reason, you have to change all the links (or write different code that does the revert for you).