「更新MediaWiki」修訂間的差異

出自TFcisWiki
跳至導覽 跳至搜尋
(Xiplus 已移動頁面 更新wiki更新MediaWiki,不留重新導向)
行 4: 行 4:
# mv old/LocalSettings.php new/LocalSettings.php
# mv old/LocalSettings.php new/LocalSettings.php
# mv old/.htaccess new/.htaccess
# mv old/.htaccess new/.htaccess
# rm -r old/images/
# rm -r new/images/
# mv old/images/ new/
# mv old/images/ new/
# rm -r old/extensions/
# rm -r new/extensions/
# mv old/extensions/ new/
# mv old/extensions/ new/
# php maintenance/update.php
# php maintenance/update.php

於 2021年8月8日 (日) 21:52 的修訂

步驟

  1. https://www.mediawiki.org/wiki/Download 下載新版本
  2. 解壓縮到指定資料夾
  3. mv old/LocalSettings.php new/LocalSettings.php
  4. mv old/.htaccess new/.htaccess
  5. rm -r new/images/
  6. mv old/images/ new/
  7. rm -r new/extensions/
  8. mv old/extensions/ new/
  9. php maintenance/update.php