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 "languages: Add NS_CATEGORY and #REDIRECT for hyw"
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor.php
diff --git
a/includes/parser/Preprocessor.php
b/includes/parser/Preprocessor.php
index
b321078
..
99ca1be
100644
(file)
--- a/
includes/parser/Preprocessor.php
+++ b/
includes/parser/Preprocessor.php
@@
-76,6
+76,7
@@
abstract class Preprocessor {
$cache = MediaWikiServices::getInstance()->getMainWANObjectCache();
$key = $cache->makeKey(
$cache = MediaWikiServices::getInstance()->getMainWANObjectCache();
$key = $cache->makeKey(
+ // @phan-suppress-next-line PhanUndeclaredConstant
defined( 'static::CACHE_PREFIX' ) ? static::CACHE_PREFIX : static::class,
md5( $text ),
$flags
defined( 'static::CACHE_PREFIX' ) ? static::CACHE_PREFIX : static::class,
md5( $text ),
$flags
@@
-108,6
+109,7
@@
abstract class Preprocessor {
$cache = MediaWikiServices::getInstance()->getMainWANObjectCache();
$key = $cache->makeKey(
$cache = MediaWikiServices::getInstance()->getMainWANObjectCache();
$key = $cache->makeKey(
+ // @phan-suppress-next-line PhanUndeclaredConstant
defined( 'static::CACHE_PREFIX' ) ? static::CACHE_PREFIX : static::class,
md5( $text ),
$flags
defined( 'static::CACHE_PREFIX' ) ? static::CACHE_PREFIX : static::class,
md5( $text ),
$flags