jenkins-bot has submitted this change and it was merged.
Change subject: Cleanup some i18n and fix documentation
......................................................................
Cleanup some i18n and fix documentation
Change-Id: I11fdb902794c20a18afc478094bfc38599b85dea
---
M specials/SpecialCheckUser.php
1 file changed, 5 insertions(+), 10 deletions(-)
Approvals:
Siebrand: Looks good to me, approved
jenkins-bot: Verified
diff --git a/specials/SpecialCheckUser.php b/specials/SpecialCheckUser.php
index 2af561d..2b7b3b0 100644
--- a/specials/SpecialCheckUser.php
+++ b/specials/SpecialCheckUser.php
@@ -204,11 +204,11 @@
}
/**
- * FIXME: documentation incomplete
* Block a list of selected users
* @param array $users
* @param string $reason
* @param string $tag
+ * @param string $talkTag
*/
protected function doMassUserBlock( $users, $reason = '', $tag = '',
$talkTag = '' ) {
global $wgCheckUserMaxBlocks;
@@ -388,9 +388,7 @@
# If user is not IP or nonexistent
if ( !$user_id ) {
- // FIXME: addWikiMsg
- $s = $this->msg( 'nosuchusershort', $user
)->parseAsBlock();
- $out->addHTML( $s );
+ $out->addWikiMsgArray( 'nosuchusershort', $user );
return;
}
@@ -431,8 +429,7 @@
$counter = 0;
foreach ( $ret as $row ) {
if ( $counter >= 5000 ) {
- // FIXME: addWikiMSG
- $out->addHTML( $this->msg(
'checkuser-limited' )->parseAsBlock() );
+ $out->addWikiMsg( 'checkuser-limited' );
break;
}
$ips_edits[$row->cuc_ip] = $row->count;
@@ -601,8 +598,7 @@
$s .= '<ol>';
foreach ( $ret as $row ) {
if ( $counter >= 5000 ) {
- // @todo FIXME: addWikiMsg
- $out->addHTML( $this->msg(
'checkuser-limited' )->parseAsBlock() );
+ $out->addWikiMsg( 'checkuser-limited' );
break;
}
# Convert the IP hexes into normal form
@@ -672,8 +668,7 @@
$s = '<div id="checkuserresults">';
foreach ( $ret as $row ) {
if ( $counter >= 5000 ) {
- // @todo FIXME: addWikiMsg
- $out->addHTML( $this->msg(
'checkuser-limited' )->parseAsBlock() );
+ $out->addWikiMsg( 'checkuser-limited' );
break;
}
$s .= $this->CUChangesLine( $row, $reason );
--
To view, visit https://gerrit.wikimedia.org/r/93924
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I11fdb902794c20a18afc478094bfc38599b85dea
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CheckUser
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits