Index: branches/wmf/1.18wmf1/includes/LocalisationCache.php |
— | — | @@ -312,13 +312,13 @@ |
313 | 313 | */ |
314 | 314 | public function isExpired( $code ) { |
315 | 315 | if ( $this->forceRecache && !isset( $this->recachedLangs[$code] ) ) { |
316 | | - wfDebug( __METHOD__."($code): forced reload\n" ); |
| 316 | + wfDebugLog( 'lc-recache', __METHOD__."($code): forced reload\n" ); |
317 | 317 | return true; |
318 | 318 | } |
319 | 319 | |
320 | 320 | $deps = $this->store->get( $code, 'deps' ); |
321 | 321 | if ( $deps === null ) { |
322 | | - wfDebug( __METHOD__."($code): cache missing, need to make one\n" ); |
| 322 | + wfDebugLog( 'lc-recache', __METHOD__."($code): cache missing, need to make one\n" ); |
323 | 323 | return true; |
324 | 324 | } |
325 | 325 | foreach ( $deps as $dep ) { |
— | — | @@ -327,7 +327,7 @@ |
328 | 328 | // anymore (e.g. uninstalled extensions) |
329 | 329 | // When this happens, always expire the cache |
330 | 330 | if ( !$dep instanceof CacheDependency || $dep->isExpired() ) { |
331 | | - wfDebug( __METHOD__."($code): cache for $code expired due to " . |
| 331 | + wfDebugLog( 'lc-recache', __METHOD__."($code): cache for $code expired due to " . |
332 | 332 | get_class( $dep ) . "\n" ); |
333 | 333 | return true; |
334 | 334 | } |