r110858 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110857‎ | r110858 | r110859 >
Date:17:56, 7 February 2012
Author:hashar
Status:ok
Tags:
Comment:
add up comment for FileCache rewrite (r98698)
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/cache/FileCacheBase.php (modified) (history)
  • /trunk/phase3/includes/cache/HTMLFileCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/cache/FileCacheBase.php
@@ -169,7 +169,10 @@
170170 }
171171
172172 /**
173 - * Get the cache type subdirectory (with trailing slash) or the empty string
 173+ * Get the cache type subdirectory (with trailing slash)
 174+ * An extending class could use that method to alter the type -> directory
 175+ * mapping. @see HTMLFileCache::typeSubdirectory() for an example.
 176+ *
174177 * @return string
175178 */
176179 protected function typeSubdirectory() {
Index: trunk/phase3/includes/cache/HTMLFileCache.php
@@ -45,6 +45,8 @@
4646
4747 /**
4848 * Get the cache type subdirectory (with the trailing slash) or the empty string
 49+ * Alter the type -> directory mapping to put action=view cache at the root.
 50+ *
4951 * @return string
5052 */
5153 protected function typeSubdirectory() {
Index: trunk/phase3/includes/DefaultSettings.php
@@ -1697,6 +1697,8 @@
16981698 * This will cache static pages for non-logged-in users to reduce
16991699 * database traffic on public sites.
17001700 * Must set $wgShowIPinHeader = false
 1701+ * ResourceLoader requests to default language and skins are cached
 1702+ * as well as single module requests.
17011703 */
17021704 $wgUseFileCache = false;
17031705

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98698FileCache:...aaron17:53, 2 October 2011

Status & tagging log