diff options
Diffstat (limited to 'maintenance/renameDbPrefix.php')
-rw-r--r-- | maintenance/renameDbPrefix.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/maintenance/renameDbPrefix.php b/maintenance/renameDbPrefix.php index 289e747f..6f244791 100644 --- a/maintenance/renameDbPrefix.php +++ b/maintenance/renameDbPrefix.php @@ -1,5 +1,6 @@ <?php /** + * Change the prefix of database tables. * Run this script to after changing $wgDBprefix on a wiki. * The wiki will have to get downtime to do this correctly. * @@ -18,11 +19,17 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script that changes the prefix of database tables. + * + * @ingroup Maintenance + */ class RenameDbPrefix extends Maintenance { public function __construct() { parent::__construct(); |