Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/90689


Change subject: Replace wfMessage calls with $this->msg
......................................................................

Replace wfMessage calls with $this->msg

Change-Id: I600af0721c15828d0a11b36438231b09e4148728
---
M special/SpecialNotifications.php
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/89/90689/1

diff --git a/special/SpecialNotifications.php b/special/SpecialNotifications.php
index 946e468..e95d649 100644
--- a/special/SpecialNotifications.php
+++ b/special/SpecialNotifications.php
@@ -93,7 +93,7 @@
                                                        ),
                                        'id' => 'mw-echo-more'
                                ),
-                               wfMessage( 'moredotdotdot' )->text()
+                               $this->msg( 'moredotdotdot' )->text()
                        );
                }
 
@@ -130,10 +130,10 @@
                                'href' => $wgEchoHelpPage,
                                'id' => 'mw-echo-moreinfo-link',
                                'class' => 'mw-echo-special-header-link',
-                               'title' => wfMessage( 'echo-more-info' 
)->text(),
+                               'title' => $this->msg( 'echo-more-info' 
)->text(),
                                'target' => '_blank'
                        ),
-                       wfMessage( 'echo-more-info' )->text()
+                       $this->msg( 'echo-more-info' )->text()
                );
                // Preferences link
                $subtitleLinks[] = Html::rawElement(
@@ -142,9 +142,9 @@
                                'href' => SpecialPage::getTitleFor( 
'Preferences' )->getLinkURL() . '#mw-prefsection-echo',
                                'id' => 'mw-echo-pref-link',
                                'class' => 'mw-echo-special-header-link',
-                               'title' => wfMessage( 'preferences' )->text()
+                               'title' => $this->msg( 'preferences' )->text()
                        ),
-                       wfMessage( 'preferences' )->text()
+                       $this->msg( 'preferences' )->text()
                );
                return $lang->pipeList( $subtitleLinks );
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/90689
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I600af0721c15828d0a11b36438231b09e4148728
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to