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 "Document $file in FileDeleteForm as LocalFile (not File)"
[lhc/web/wiklou.git]
/
includes
/
logging
/
PatrolLogFormatter.php
diff --git
a/includes/logging/PatrolLogFormatter.php
b/includes/logging/PatrolLogFormatter.php
index
bbd8bad
..
e02a703
100644
(file)
--- a/
includes/logging/PatrolLogFormatter.php
+++ b/
includes/logging/PatrolLogFormatter.php
@@
-19,10
+19,9
@@
*
* @file
* @author Niklas Laxström
*
* @file
* @author Niklas Laxström
- * @license
http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or
later
+ * @license
GPL-2.0-or-
later
* @since 1.22
*/
* @since 1.22
*/
-use MediaWiki\MediaWikiServices;
/**
* This class formats patrol log entries.
/**
* This class formats patrol log entries.
@@
-55,8
+54,7
@@
class PatrolLogFormatter extends LogFormatter {
'oldid' => $oldid,
'diff' => 'prev'
];
'oldid' => $oldid,
'diff' => 'prev'
];
- $revlink = MediaWikiServices::getInstance()->getLinkRenderer()->makeLink(
- $target, $revision, [], $query );
+ $revlink = $this->getLinkRenderer()->makeLink( $target, $revision, [], $query );
} else {
$revlink = htmlspecialchars( $revision );
}
} else {
$revlink = htmlspecialchars( $revision );
}