X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/maintenance/language/alltrans.php diff --git a/maintenance/language/alltrans.php b/maintenance/language/alltrans.php index f872e6a6..931718f5 100644 --- a/maintenance/language/alltrans.php +++ b/maintenance/language/alltrans.php @@ -17,15 +17,22 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @ingroup MaintenanceLanguage */ -require_once( dirname( __FILE__ ) . '/../Maintenance.php' ); +require_once __DIR__ . '/../Maintenance.php'; +/** + * Maintenance script that gets all messages as defined by the + * English language file. + * + * @ingroup MaintenanceLanguage + */ class AllTrans extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Get all messages as defined by the English language file"; + $this->addDescription( 'Get all messages as defined by the English language file' ); } public function execute() { @@ -37,4 +44,4 @@ class AllTrans extends Maintenance { } $maintClass = "AllTrans"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;