Manual:RenameDbPrefix.php/pl

This page is a translated version of the page Manual:RenameDbPrefix.php and the translation is 12% complete.
Wersja MediaWiki:
1.13

renameDbPrefix.php file is a maintenance script to change the prefix of database tables.

Run this script after changing $wgDBprefix on a wiki. The wiki will have to get downtime to do this correctly.

Arguments

Option Description Required
--old Old db prefix; 0 for none Wymagane
--new New db prefix; 0 for none Wymagane

Usage

php maintenance/renameDbPrefix.php --old oldDBprefix --new newDBprefix
Terminal

Common error

Invalid prefix!

This error occurs when either the --old or --new value is incorrect.

Zobacz też