本館粉絲專頁

使用者:Minwei/維基筆記:修訂版本之間的差異

分享此網頁到Facebook
分享此網頁到Plurk
分享此網頁到百度搜藏
分享此網頁到Twitter
分享此網頁到Del.icio.us
台灣棒球維基館
跳轉到: 導覽搜尋
第14行: 第14行:
 
== Perform the database upgrade(資料庫升級) ==
 
== Perform the database upgrade(資料庫升級) ==
 
*我覺得最難的部分
 
*我覺得最難的部分
:You will need an AdminSettings.php file set up in the correct format; see
+
:*You will need an AdminSettings.php file set up in the correct format; see AdminSettings.sample in the wiki root for more information and examples.
AdminSettings.sample in the wiki root for more information and examples.
+
:*Major changes have been made to the schema from 1.4.x. The updater has not been fully tested for all conditions, and might well break.
:Major changes have been made to the schema from 1.4.x. The updater
+
:*The current schema for any version - with copious comments - can be found in the maintenance/tables.sql file.
has not been fully tested for all conditions, and might well break.
+
:*http://www.mediawiki.org/wiki/Manual:Database_layout
:The current schema for any version - with copious comments - can be found in the maintenance/tables.sql file.
+
::*[[User:Minwei/維基筆記/Schema轉換]]
 
== Check configuration settings(檢查config設定) ==
 
== Check configuration settings(檢查config設定) ==
 
=== Configuration changes from 1.4.x: ===
 
=== Configuration changes from 1.4.x: ===

2007年11月22日 (四) 10:52的修訂版本

目次

Upgrade from 1.4.3 to 1.11.x

參考自http://svn.wikimedia.org/svnroot/mediawiki/tags/REL1_11_0/phase3/UPGRADE

Backup first(先備份)

參考資源http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki
For general help on mysqldump:http://dev.mysql.com/doc/mysql/en/mysqldump.html

Perform the file upgrade(檔案升級)

  • 保留LocalSettings.php file, AdminSettings.php file (if present),及"extensions"與"images"目錄
  • 更新修改過的程式(待整理)

Perform the database upgrade(資料庫升級)

  • 我覺得最難的部分
  • You will need an AdminSettings.php file set up in the correct format; see AdminSettings.sample in the wiki root for more information and examples.
  • Major changes have been made to the schema from 1.4.x. The updater has not been fully tested for all conditions, and might well break.
  • The current schema for any version - with copious comments - can be found in the maintenance/tables.sql file.
  • http://www.mediawiki.org/wiki/Manual:Database_layout

Check configuration settings(檢查config設定)

Configuration changes from 1.4.x:

$wgDisableUploads has been replaced with $wgEnableUploads.

$wgWhitelistAccount has been replaced by the 'createaccount' permission key in $wgGroupPermissions. To emulate the old effect of setting:

 $wgWhitelistAccount['user'] = 0;

set:

 $wgGroupPermissions['*']['createaccount'] = false;

$wgWhitelistEdit has been replaced by the 'edit' permission key. To emulate the old effect of setting:

 $wgWhitelistEdit = true;

set:

 $wgGroupPermissions['*']['edit'] = false;

If $wgWhitelistRead is set, you must also disable the 'read' permission for it to take affect on anonymous users:

 $wgWhitelistRead = array( "Main Page", "Special:Userlogin" );
 $wgGroupPermissions['*']['read'] = false;

If using Memcached, you must enabled it differently now:

 $wgUseMemCached = true;

should be replaced with:

 $wgMainCacheType = CACHE_MEMCACHED;

Upgrading from pre-1.5 wikis

Message changes:

  • A number of additional UI messages have been changed from HTML to wikitext, and will need to be manually fixed if customized.