This script was used: perl -0pi -e 's/(use Test[^\n]+)\n+clear_pages\(\);[^\n]*\n+/$1\n\n/' *.t
$NewText is replaced by a call to NewText() which you can overwrite. Or you can provide translations for the texts used by NewText(). Basically, the new text explains that the page in question does not exist and invites you edit it.