From 222b01f5169f1c7e69762e0e8904c24f78f71882 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 28 Jul 2010 11:52:48 +0200 Subject: update to MediaWiki 1.16.0 --- docs/memcached.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'docs/memcached.txt') diff --git a/docs/memcached.txt b/docs/memcached.txt index 2a904872..da6add66 100644 --- a/docs/memcached.txt +++ b/docs/memcached.txt @@ -56,7 +56,7 @@ To start the daemon manually, use something like: memcached -d -l 127.0.0.1 -p 11211 -m 64 (to run in daemon mode, accessible only via loopback interface, -on port 11000, using up to 64MB of memory) +on port 11211, using up to 64MB of memory) In your LocalSettings.php file, set: @@ -71,8 +71,8 @@ it has twice the memory of the others and you want to spread usage evenly), make its entry a subarray: $wgMemCachedServers = array( - "127.0.0.1:11000", # one gig on this box - array("192.168.0.1:11000", 2 ) # two gigs on the other box + "127.0.0.1:11211", # one gig on this box + array("192.168.0.1:11211", 2 ) # two gigs on the other box ); == PHP client for memcached == @@ -219,12 +219,15 @@ Special:Allpages: Special:Recentchanges (feed): stored in: $messageMemc - key: $wgDBname:rcfeed:$format:limit:$imit:minor:$hideminor and + key: $wgDBname:rcfeed:$format:$limit:$hideminor:$target and rcfeed:$format:timestamp - ex: wikidb:rcfeed:rss:limit:50:minor:0 and rcfeed:rss:timestamp + ex: wikidb:rcfeed:rss:50:: and rcfeed:rss:timestamp stores: xml output of feed expiry: one day - clear by: calling Special:Recentchanges?action=purge + clear by: maintenance/rebuildrecentchanges.php script, or + calling Special:Recentchanges?action=purge&feed=rss, + Special:Recentchanges?action=purge&feed=atom, + but note need $wgGroupPermissions[...]['purge'] permission. Statistics: controlled by: $wgStatsMethod -- cgit v1.2.3-54-g00ecf