Support GENDER in 'sp-contributions-blocked-notice'
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 27 Sep 2009 23:21:57 +0000 (23:21 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 27 Sep 2009 23:21:57 +0000 (23:21 +0000)
includes/specials/SpecialContributions.php

index 0290134..73a6549 100644 (file)
@@ -236,7 +236,10 @@ class SpecialContributions extends SpecialPage {
                                        array(
                                                'lim' => 1,
                                                'showIfEmpty' => false,
-                                               'msgKey' => array( 'sp-contributions-blocked-notice' ),
+                                               'msgKey' => array(
+                                                       'sp-contributions-blocked-notice',
+                                                       $nt->getText() # Support GENDER in 'sp-contributions-blocked-notice'
+                                               ),
                                                'offset' => '' # don't use $wgRequest parameter offset
                                        )
                                );