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 | | - wfDebugLog( 'lc-recache', __METHOD__."($code): forced reload\n" ); |
| 316 | + wfDebug( __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 | | - wfDebugLog( 'lc-recache', __METHOD__."($code): cache missing, need to make one\n" ); |
| 322 | + wfDebug( __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 | | - wfDebugLog( 'lc-recache', __METHOD__."($code): cache for $code expired due to " . |
| 331 | + wfDebug( __METHOD__."($code): cache for $code expired due to " . |
332 | 332 | get_class( $dep ) . "\n" ); |
333 | 333 | return true; |
334 | 334 | } |
— | — | @@ -494,6 +494,7 @@ |
495 | 495 | throw new MWException( "Invalid language code requested" ); |
496 | 496 | } |
497 | 497 | $this->recachedLangs[$code] = true; |
| 498 | + wfDebugLog( 'lc-recache', "Recaching language $code\n" ); |
498 | 499 | |
499 | 500 | # Initial values |
500 | 501 | $initialData = array_combine( |