Index: trunk/extensions/CheckUser/CheckUser.php |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<?PHP |
| 2 | +<?php |
3 | 3 | |
4 | 4 | # Not a valid entry point, skip unless MEDIAWIKI is defined |
5 | 5 | if (!defined('MEDIAWIKI')) { |
— | — | @@ -224,8 +224,8 @@ |
225 | 225 | wfLoadExtensionMessages( 'CheckUser' ); |
226 | 226 | $links[] = $wgUser->getSkin()->makeKnownLinkObj( |
227 | 227 | SpecialPage::getTitleFor( 'CheckUser' ), |
228 | | - wfMsgHtml( 'checkuser' ),'user='.$nt->getDbKey() |
229 | | - ); |
| 228 | + wfMsgHtml( 'checkuser' ), |
| 229 | + 'user=' . urlencode( $nt->getText() ) ); |
230 | 230 | } |
231 | 231 | return true; |
232 | 232 | } |