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 "ApiTestCase: Set correct user for derivate requests"
[lhc/web/wiklou.git]
/
includes
/
Title.php
diff --git
a/includes/Title.php
b/includes/Title.php
index
601211d
..
d5eff46
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-3309,6
+3309,14
@@
class Title {
$this->mIsBigDeletion = null;
}
$this->mIsBigDeletion = null;
}
+ public static function clearCaches() {
+ $linkCache = LinkCache::singleton();
+ $linkCache->clear();
+
+ $titleCache = self::getTitleCache();
+ $titleCache->clear();
+ }
+
/**
* Capitalize a text string for a title if it belongs to a namespace that capitalizes
*
/**
* Capitalize a text string for a title if it belongs to a namespace that capitalizes
*