Media Wiki Operations: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
=Get Media Wiki Version= | =Get Media Wiki Version= | ||
Look up "$wgVersion" in [[Media_Wiki_Production_Deployment_Info#DefaulSettings.php_Location|includes/DefaultSettings.php]]. | |||
=Backing Up a Wiki= | =Backing Up a Wiki= |
Revision as of 04:39, 7 December 2020
External
- MediaWiki FAQ: https://www.mediawiki.org/wiki/Manual:FAQ
Internal
Get Media Wiki Version
Look up "$wgVersion" in includes/DefaultSettings.php.
Backing Up a Wiki
Restoring a Wiki from Backup
Moving a Wiki
Lessons learned after performing a not500 export and a now510 import:
- The wiki users carry passwords over (as expected, they're stored in the database).
- MySQL export/import went fine:
mysqldump -h localhost -u <old-user> -p --default-character-set=binary <old-database> > novaordis-wiki.sql mysql -u <new-user> -p <new-database> < novaordis-wiki.sql
- Only the "image" content need to be transferred, and I needed to restore ownership to apache:apache and run
chcon -R -t httpd_sys_script_rw_t ./images
Create a User
Special pages -> Login / create account -> Create Account. Or Special:UserLogin/signup.
Get the List of All Users
Special Pages -> Users and rights -> User list. Or Special:ListUsers.
Locate the php.ini File
php -i ... Configuration File (php.ini) Path => /etc ...