From e75f7bd5715b9150316227356d0a77cac1902054 Mon Sep 17 00:00:00 2001 From: Glaisher Date: Tue, 6 Oct 2015 21:35:54 +0500 Subject: [PATCH] SpecialEditWatchlist: Use 'parentheses' message instead of hard-coded () Change-Id: I09e71d57668787ece609b39c9c7511c2aef28730 --- includes/specials/SpecialEditWatchlist.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index 64a93a0373..952ae0e7ad 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -282,10 +282,12 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { } if ( $title instanceof Title ) { - $output .= "
  • " - . Linker::link( $title ) - . ' (' . Linker::link( $title->getTalkPage(), $talk ) - . ")
  • \n"; + $output .= '
  • ' . + Linker::link( $title ) . ' ' . + $this->msg( 'parentheses' )->rawParams( + Linker::link( $title->getTalkPage(), $talk ) + )->escaped() . + "
  • \n"; } } @@ -659,7 +661,8 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { $link = '' . $link . ''; } - return $link . " (" . $this->getLanguage()->pipeList( $tools ) . ")"; + return $link . ' ' . + $this->msg( 'parentheses' )->rawParams( $this->getLanguage()->pipeList( $tools ) )->escaped(); } /** -- 2.20.1