MarcoAurelio has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/384509 )
Change subject: Restore checkuser-userlinks when exist ...................................................................... Restore checkuser-userlinks when exist In 15ad8b92119e this message was removed but sometimes there is the need to add other tool links. Bug: T170507 Change-Id: Ia4767ddefc0a4dedeab2f1ffdb4b8b5698cf069f (cherry picked from commit 8d3e3ddf1428a622b4201d1897cadb4c2ca2172d) --- M specials/SpecialCheckUser.php 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CheckUser refs/changes/09/384509/1 diff --git a/specials/SpecialCheckUser.php b/specials/SpecialCheckUser.php index f5be192..f6b8d65 100644 --- a/specials/SpecialCheckUser.php +++ b/specials/SpecialCheckUser.php @@ -1107,6 +1107,10 @@ $idforlink, $name, $user->getEditCount() ) . ' '; if ( $ip ) { $s .= $this->msg( 'checkuser-userlinks-ip', $name )->parse(); + } elseif ( !$classnouser ) { + if ( $this->msg( 'checkuser-userlinks' )->exists() ) { + $s .= ' ' . $this->msg( 'checkuser-userlinks', $name )->parse(); + } } // Add CheckUser link $s .= ' ' . $this->msg( 'parentheses' )->rawParams( -- To view, visit https://gerrit.wikimedia.org/r/384509 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia4767ddefc0a4dedeab2f1ffdb4b8b5698cf069f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CheckUser Gerrit-Branch: wmf/1.31.0-wmf.3 Gerrit-Owner: MarcoAurelio <maure...@tools.wmflabs.org> Gerrit-Reviewer: Melos <webme...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits