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
Replace some wfMessage by ContextSource::msg
[lhc/web/wiklou.git]
/
includes
/
specials
/
pagers
/
ImageListPager.php
diff --git
a/includes/specials/pagers/ImageListPager.php
b/includes/specials/pagers/ImageListPager.php
index
3d7148d
..
889ec1a
100644
(file)
--- a/
includes/specials/pagers/ImageListPager.php
+++ b/
includes/specials/pagers/ImageListPager.php
@@
-449,7
+449,7
@@
class ImageListPager extends TablePager {
if ( $thumb ) {
return $thumb->toHtml( [ 'desc-link' => true ] );
} else {
- return
wfMessage
( 'thumbnail_error', '' )->escaped();
+ return
$this->msg
( 'thumbnail_error', '' )->escaped();
}
} else {
return htmlspecialchars( $value );