Translations:Manual:Extension registration/117/en

(as described on the manual page). However, this code looks the same for a lot of extensions, so you could call it unnecessary code duplication.