Translations:Extension:AbuseFilter/Rules format/404/en

This is reliable, but it tends to be slow; consider using $1 if you don't need much precision.