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 "Parser: Add Title type hints"
[lhc/web/wiklou.git]
/
includes
/
logging
/
ProtectLogFormatter.php
diff --git
a/includes/logging/ProtectLogFormatter.php
b/includes/logging/ProtectLogFormatter.php
index
6e3b26b
..
81d9aa2
100644
(file)
--- a/
includes/logging/ProtectLogFormatter.php
+++ b/
includes/logging/ProtectLogFormatter.php
@@
-101,7
+101,7
@@
class ProtectLogFormatter extends LogFormatter {
];
// Show change protection link
- if (
!
MediaWikiServices::getInstance()
+ if ( MediaWikiServices::getInstance()
->getPermissionManager()
->userHasRight( $this->context->getUser(), 'protect' )
) {