r66369 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66368‎ | r66369 | r66370 >
Date:18:07, 13 May 2010
Author:demon
Status:ok
Tags:
Comment:
Followup r66364, add WinCache support to installer
Modified paths:
  • /trunk/phase3/includes/installer/Installer.i18n.php (modified) (history)
  • /trunk/phase3/includes/installer/Installer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/Installer.i18n.php
@@ -115,7 +115,8 @@
116116 'config-xcache' => '[http://trac.lighttpd.net/xcache/ XCache] installed',
117117 'config-apc' => '[http://www.php.net/apc APC] installed',
118118 'config-eaccel' => '[http://eaccelerator.sourceforge.net/ eAccelerator] installed',
119 - 'config-no-cache' => "'''Warning:''' Could not find [http://eaccelerator.sourceforge.net eAccelerator], [http://www.php.net/apc APC] or [http://trac.lighttpd.net/xcache/ XCache].
 119+ 'config-wincache' => '[http://www.iis.net/download/WinCacheForPhp WinCache] installed',
 120+ 'config-no-cache' => "'''Warning:''' Could not find [http://eaccelerator.sourceforge.net eAccelerator], [http://www.php.net/apc APC], [http://trac.lighttpd.net/xcache/ XCache] or [http://www.iis.net/download/WinCacheForPhp WinCache].
120121 Object caching is not enabled.",
121122 'config-diff3-good' => 'Found GNU diff3: <code>$1</code>.',
122123 'config-diff3-bad' => 'GNU diff3 not found.',
@@ -399,7 +400,7 @@
400401 Medium to large sites are highly encouraged to enable this, and small sites will see benefits as well.',
401402 'config-cache-none' => 'No caching.
402403 No functionality is removed, but speed may be impacted.',
403 - 'config-cache-accel' => 'PHP object caching (APC, eAccelerator or XCache)',
 404+ 'config-cache-accel' => 'PHP object caching (APC, eAccelerator, XCache or WinCache)',
404405 'config-cache-memcached' => 'Use Memcached (requires additional setup and configuration)',
405406 'config-cache-db' => 'Cache data into the database',
406407 'config-cache-anything' => 'MediaWiki will attempt to cache data anywhere possible, except in Memcached, unless indicated explicitely',
Index: trunk/phase3/includes/installer/Installer.php
@@ -142,7 +142,8 @@
143143 var $objectCaches = array(
144144 'xcache' => 'xcache_get',
145145 'apc' => 'apc_fetch',
146 - 'eaccel' => 'eaccelerator_get'
 146+ 'eaccel' => 'eaccelerator_get',
 147+ 'wincache' => 'wincache_ucache_get'
147148 );
148149
149150 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66364(bug 22844) Support Micosoft Windows Cache aka WINCACHEdemon17:41, 13 May 2010

Status & tagging log