Translations:Manual:Writing maintenance scripts/21/en

If your maintenance script is for an extension, then you should add a requirement that the extension is installed: