简体   繁体   English

mediawiki 版本之间的数据库兼容性

[英]Database compatability between releases of mediawiki

I am running an old [release 1.22.6] version of mediawiki which I am finally being forced to upgrade or replace.我正在运行旧的 [release 1.22.6] 版本的 mediawiki,我最终被迫升级或更换。 I am considering creating a new subdomain using the 1.32.0 release of mediawiki.我正在考虑使用 mediawiki 的 1.32.0 版本创建一个新的子域。 And then I intend to restore a backup of my old version databases and image files to the new version.然后我打算将旧版本数据库和图像文件的备份恢复到新版本。

My main concern is about database changes between the versions.我主要关心的是版本之间的数据库更改。 Will the backups be compatible with the new wiki version?备份会与新的 wiki 版本兼容吗?

I also have the same concern about my modified LocalSettings.php file.我对修改后的 LocalSettings.php 文件也有同样的担忧。

My mysql server version is 5.7.25我的mysql服务器版本是5.7.25

The database can be migrated to the new version, as described in the upgrading manual .数据库可以迁移到新版本,如升级手册所述 The one somewhat-exception is the pageview data, check out the documentation for the HitCounters extension if you want to keep that.一个有点例外的是页面浏览数据,如果你想保留它,请查看HitCounters 扩展的文档。

LocalSettings.php might need to be updated, check the release logs or the documentation for the configuration variables you are modifying. LocalSettings.php可能需要更新,检查发布日志或您正在修改的配置变量的文档。 It really depends on what you have in it.这真的取决于你有什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM