Replace wfMessage() with this->msg()
QueryPage inherits from SpecialPage and thus $this->msg() returns a message with context set to the appropriate request context (language and title). Bug: 63110 Change-Id: Iaf9252e5a25eb618d7c1975fdb6e5ff96a50225b
This commit is contained in:
parent
ac5eb9af92
commit
3dc4981dfb
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class ListDuplicatedFilesPage extends QueryPage {
|
|||
$image1 = Title::makeTitle( $result->namespace, $result->title );
|
||||
$dupeSearch = SpecialPage::getTitleFor( 'FileDuplicateSearch', $image1->getDBKey() );
|
||||
|
||||
$msg = wfMessage( 'listduplicatedfiles-entry' )
|
||||
$msg = $this->msg( 'listduplicatedfiles-entry' )
|
||||
->params( $image1->getText() )
|
||||
->numParams( $result->value - 1 )
|
||||
->params( $dupeSearch->getPrefixedDBKey() );
|
||||
|
|
|
|||
Loading…
Reference in a new issue