From: Glaisher Date: Tue, 6 Oct 2015 16:35:54 +0000 (+0500) Subject: SpecialEditWatchlist: Use 'parentheses' message instead of hard-coded () X-Git-Tag: 1.31.0-rc.0~9487^2 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=e75f7bd5715b9150316227356d0a77cac1902054;p=lhc%2Fweb%2Fwiklou.git SpecialEditWatchlist: Use 'parentheses' message instead of hard-coded () Change-Id: I09e71d57668787ece609b39c9c7511c2aef28730 --- 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(); } /**