r37716 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37715‎ | r37716 | r37717 >
Date:21:24, 15 July 2008
Author:brion
Status:old
Tags:
Comment:
Cleanup from r37671 "(bug 14797), add Checkuser link to Contributions links. Patch by Nakon."
* change mysterious "<?PHP" back to "<?php"
* use proper formatting and escaping on the link parameter
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser.php
@@ -1,4 +1,4 @@
2 -<?PHP
 2+<?php
33
44 # Not a valid entry point, skip unless MEDIAWIKI is defined
55 if (!defined('MEDIAWIKI')) {
@@ -224,8 +224,8 @@
225225 wfLoadExtensionMessages( 'CheckUser' );
226226 $links[] = $wgUser->getSkin()->makeKnownLinkObj(
227227 SpecialPage::getTitleFor( 'CheckUser' ),
228 - wfMsgHtml( 'checkuser' ),'user='.$nt->getDbKey()
229 - );
 228+ wfMsgHtml( 'checkuser' ),
 229+ 'user=' . urlencode( $nt->getText() ) );
230230 }
231231 return true;
232232 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r37671(bug 14797), add Checkuser link to Contributions links. Patch by Nakon.demon22:33, 14 July 2008

Status & tagging log