Nikerabbit has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60659
Change subject: Code consistency
......................................................................
Code consistency
Change-Id: I3bd275886388d985b74e6ea88c38816d7348c6c5
---
M tag/SpecialPageTranslation.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate
refs/changes/59/60659/1
diff --git a/tag/SpecialPageTranslation.php b/tag/SpecialPageTranslation.php
index ab5c824..796845c 100644
--- a/tag/SpecialPageTranslation.php
+++ b/tag/SpecialPageTranslation.php
@@ -477,7 +477,7 @@
*/
foreach ( $sections as $s ) {
if ( $s->type === 'new' ) {
- $name = $this->msg( 'tpt-section-new'
)->params( $s->name )->escaped();
+ $name = $this->msg( 'tpt-section-new', $s->name
)->escaped();
} else {
$name = $this->msg( 'tpt-section', $s->name
)->escaped();
}
--
To view, visit https://gerrit.wikimedia.org/r/60659
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bd275886388d985b74e6ea88c38816d7348c6c5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits