dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "mediawiki.skinning.content.externallinks: Code quality tweaks"
[lhc/web/wiklou.git]
/
includes
/
parser
/
CoreParserFunctions.php
diff --git
a/includes/parser/CoreParserFunctions.php
b/includes/parser/CoreParserFunctions.php
index
983fc14
..
eacbecd
100644
(file)
--- a/
includes/parser/CoreParserFunctions.php
+++ b/
includes/parser/CoreParserFunctions.php
@@
-1001,8
+1001,8
@@
class CoreParserFunctions {
*/
private static function getCachedRevisionObject( $parser, $title = null ) {
static $cache = null;
*/
private static function getCachedRevisionObject( $parser, $title = null ) {
static $cache = null;
- if (
!isset( $cache )
) {
- $cache = new MapCacheLRU(
10
0 );
+ if (
$cache == null
) {
+ $cache = new MapCacheLRU(
5
0 );
}
if ( is_null( $title ) ) {
}
if ( is_null( $title ) ) {