WackoWiki: Наследие Обновление от 4.x до 5.0.x

https://wackowiki.org/doc     Version: 22 (03.01.2024 12:30)

Наследие Обновление от 4.x до 5.0.x

Имеется также Deutsch[link1] и English[link2]

Обновите ваш WackoWiki с 4.x до 5.0.x.



См. также руководство по миграции WackoWiki версии 5.5.x[link3].

1. Preparations

  1. Check ReleaseNotes[link4] for requirements
    1. PHP is supported only up to PHP 5.3
    2. you can use XAMPP 1.7.7[link5] to upgrade your legacy application
  2. Back up your files to save important data.
  3. Download[link6] the final version. wacko.r5.0.5.zip[link7]
  4. pull your site in a local htdocs/test folder
  5. get the database dump
  6. import the database dump (e.g. via phpMyAdmin)
  7. rename or remove changed default pages, the installer can only rely on the user 'WackoInstaller' in the pages table to identify and update those pages
  8. remove all files and folders under htdocs/test except wakka.config.php and files/
  9. modify the wakka.config.php so it will work with your local environment (database, path, theme, etc.)
  10. now pull / copy the repo head into the same folder (just the content of the wacko/ folder)
  11. check database tables for abandoned or inconsistent data


Call the URI in your browser -> the installer starts and tell you that you are upgrading from 4.2 / 4.3 to 5.0.x

2. Installer


Now you should have your upgraded Wiki. Login as Admin and create a page called UpgradeRoutine and add there the action {{adminupdate}} -> save (the installer will try to create this page e.g. /Users/WikiAdmin/MigrateDataToR50)

3. Миграция данных с R4.x на R5.0.

Action: {{adminupdate}}

Утилиты обновления доступны только в этой версии.

Шаги
  1. конвертировать файлы на страницу
  2. переместить глобальные файлы в новую подпапку
  3. миграция пользовательских настроек
  4. Обновление статистики пользователей
  5. переместить страницы пользователей в пространство имен пользователей
  6. установить заголовок страницы на основе тега
  7. установить глубину страницы на основе тега
  8. установить version_id для ревизии
  9. установить новых ACL разрешений 'create' и 'upload'.

adminupdate action to migrate data from R4.x to R5.0

Notices:
  1. check character_set_client and character_set_connection
  2. check for empty lines in the old bookmark field if conversion of user settings fails and remove them

Renamed Actions[link8]

Renamed Formatters[link9] %%([formatter]) content %%

You can use search to find the old strings and replace each with the new one.

change user links


Редактирование пунктов меню по умолчанию

4. Admin Panel

The new Admin panel[link10] is in Beta stage.

Если панель администратора[link10] заблокирована, сбросьте config/lock_ap from 1 на 0.

5. Captcha

To use Captcha, you must ensure that the session settings in freecap.php do not differ from the default values or your config settings,
else Captcha can't pass its values to the session. In the following link you find a workaround for this from our Development-Blog:

6. Notes

  1. Оставьте комментарий здесь , если что-то неясно или у вас есть дополнительные вопросы.
  2. Не стесняйтесь улучшать эту инструкцию и формулировку.