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 "Add @covers for BlockLevelPass"
[lhc/web/wiklou.git]
/
includes
/
changes
/
ChangesList.php
diff --git
a/includes/changes/ChangesList.php
b/includes/changes/ChangesList.php
index
cac4769
..
5b8559e
100644
(file)
--- a/
includes/changes/ChangesList.php
+++ b/
includes/changes/ChangesList.php
@@
-182,9
+182,9
@@
class ChangesList extends ContextSource {
$classes[] = self::CSS_CLASS_PREFIX . 'edit';
$classes[] = Sanitizer::escapeClass( self::CSS_CLASS_PREFIX . 'ns' .
$rc->mAttribs['rc_namespace'] . '-' . $rc->mAttribs['rc_title'] );
$classes[] = self::CSS_CLASS_PREFIX . 'edit';
$classes[] = Sanitizer::escapeClass( self::CSS_CLASS_PREFIX . 'ns' .
$rc->mAttribs['rc_namespace'] . '-' . $rc->mAttribs['rc_title'] );
- $classes[] = Sanitizer::escapeClass( self::CSS_CLASS_PREFIX . 'ns-' .
- $rc->mAttribs['rc_namespace'] );
}
}
+ $classes[] = Sanitizer::escapeClass( self::CSS_CLASS_PREFIX . 'ns-' .
+ $rc->mAttribs['rc_namespace'] );
// Indicate watched status on the line to allow for more
// comprehensive styling.
// Indicate watched status on the line to allow for more
// comprehensive styling.
@@
-576,7
+576,9
@@
class ChangesList extends ContextSource {
return '';
}
$cache = $this->watchMsgCache;
return '';
}
$cache = $this->watchMsgCache;
- return $cache->getWithSetCallback( $count, $cache::TTL_INDEFINITE,
+ return $cache->getWithSetCallback(
+ $cache->makeKey( 'watching-users-msg', $count ),
+ $cache::TTL_INDEFINITE,
function () use ( $count ) {
return $this->msg( 'number_of_watching_users_RCview' )
->numParams( $count )->escaped();
function () use ( $count ) {
return $this->msg( 'number_of_watching_users_RCview' )
->numParams( $count )->escaped();