@@ 556-560 (lines=5) @@ | ||
553 | // Article was deleted |
|
554 | $this->mCache[$code][$title] = '!NONEXISTENT'; |
|
555 | $this->wanCache->delete( $titleKey ); |
|
556 | } elseif ( strlen( $text ) > $wgMaxMsgCacheEntrySize ) { |
|
557 | // Check for size |
|
558 | $this->mCache[$code][$title] = '!TOO BIG'; |
|
559 | $this->wanCache->set( $titleKey, ' ' . $text, $this->mExpiry ); |
|
560 | } else { |
|
561 | $this->mCache[$code][$title] = ' ' . $text; |
|
562 | $this->wanCache->delete( $titleKey ); |
|
563 | } |
|
@@ 1024-1027 (lines=4) @@ | ||
1021 | $message = false; // negative caching |
|
1022 | } |
|
1023 | ||
1024 | if ( $message === false ) { // negative caching |
|
1025 | $this->mCache[$code][$title] = '!NONEXISTENT'; |
|
1026 | $this->wanCache->set( $titleKey, '!NONEXISTENT', $this->mExpiry, $cacheOpts ); |
|
1027 | } |
|
1028 | ||
1029 | return $message; |
|
1030 | } |