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
Add user rights 'viewmywatchlist', 'editmywatchlist'
[lhc/web/wiklou.git]
/
includes
/
Title.php
diff --git
a/includes/Title.php
b/includes/Title.php
index
9d42b2f
..
56c2ed4
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-4531,7
+4531,7
@@
class Title {
if ( array_key_exists( $uid, $this->mNotificationTimestamp ) ) {
return $this->mNotificationTimestamp[$uid];
}
if ( array_key_exists( $uid, $this->mNotificationTimestamp ) ) {
return $this->mNotificationTimestamp[$uid];
}
- if ( !$uid || !$wgShowUpdatedMarker ) {
+ if ( !$uid || !$wgShowUpdatedMarker
|| !$user->isAllowed( 'viewmywatchlist' )
) {
return $this->mNotificationTimestamp[$uid] = false;
}
// Don't cache too much!
return $this->mNotificationTimestamp[$uid] = false;
}
// Don't cache too much!