Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/179552
Change subject: Special pages: Change some wfMessage to $this->msg ...................................................................... Special pages: Change some wfMessage to $this->msg Change-Id: I797a791c0e6738857fbd01bacff088c777e91461 --- M includes/specials/SpecialEditWatchlist.php M includes/specials/SpecialNewpages.php M includes/specials/SpecialSearch.php M includes/specials/SpecialUpload.php 4 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/52/179552/1 diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index e42db8c..50a52b8 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -256,7 +256,7 @@ // Do a batch existence check $batch = new LinkBatch(); if ( count( $titles ) >= 100 ) { - $output = wfMessage( 'watchlistedit-too-many' )->parse(); + $output = $this->msg( 'watchlistedit-too-many' )->parse(); return; } foreach ( $titles as $title ) { diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php index aa16dbc..9dad5a2 100644 --- a/includes/specials/SpecialNewpages.php +++ b/includes/specials/SpecialNewpages.php @@ -236,7 +236,7 @@ 'tagFilter' => array( 'type' => 'tagfilter', 'name' => 'tagfilter', - 'label-raw' => wfMessage( 'tag-filter' )->parse(), + 'label-raw' => $this->msg( 'tag-filter' )->parse(), 'default' => $tagFilterVal, ), 'username' => array( diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 1923d44..c77c786 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -919,7 +919,7 @@ $user = $this->getUser(); if ( $user->isLoggedIn() ) { $remember .= Xml::checkLabel( - wfMessage( 'powersearch-remember' )->text(), + $this->msg( 'powersearch-remember' )->text(), 'nsRemember', 'mw-search-powersearch-remember', false, diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index ff0ccc1..ee89b0a 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -731,7 +731,7 @@ } return '<li>' . - wfMessage( 'file-exists-duplicate' )->numParams( count( $dupes ) )->parse() . + $this->msg( 'file-exists-duplicate' )->numParams( count( $dupes ) )->parse() . $gallery->toHTML() . "</li>\n"; } -- To view, visit https://gerrit.wikimedia.org/r/179552 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I797a791c0e6738857fbd01bacff088c777e91461 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits