r94664 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94663‎ | r94664 | r94665 >
Date:17:30, 16 August 2011
Author:demon
Status:ok
Tags:
Comment:
MFT r94506
Modified paths:
  • /branches/wmf/1.17wmf1/extensions/CodeReview/backend/CodeRevision.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/extensions/CodeReview/backend/CodeRevision.php
@@ -1241,10 +1241,11 @@
12421242 * @param string $commentId
12431243 * @return \type
12441244 */
1245 - public function getFullUrl( $commentId = '' ) {
 1245+ public function getFullUrl( $commentId = 0 ) {
12461246 $title = SpecialPage::getTitleFor( 'Code', $this->repo->getName() . '/' . $this->id );
12471247
1248 - if ( $commentId !== '' ) {
 1248+ # Append comment id if not null, empty string or zero
 1249+ if ( $commentId ) {
12491250 $title->setFragment( "#c{$commentId}" );
12501251 }
12511252
Property changes on: branches/wmf/1.17wmf1/extensions/CodeReview/backend/CodeRevision.php
___________________________________________________________________
Added: svn:mergeinfo
12521253 Merged /branches/REL1_15/phase3/extensions/CodeReview/backend/CodeRevision.php:r51646
12531254 Merged /branches/wmf/1.16wmf4/extensions/CodeReview/backend/CodeRevision.php:r67177,69199,76243,77266
12541255 Merged /trunk/extensions/CodeReview/backend/CodeRevision.php:r77974-93070,94506
12551256 Merged /backend/CodeRevision.php:r91549
12561257 Merged /branches/sqlite/extensions/CodeReview/backend/CodeRevision.php:r58211-58321
12571258 Merged /trunk/phase3/extensions/CodeReview/backend/CodeRevision.php:r79828,79830,79848,79853,79950-79951,79954,79989,80006-80007,80013,80016,80080,80083,80124,80128,80238,81833,83212,83590
12581259 Merged /branches/new-installer/phase3/extensions/CodeReview/backend/CodeRevision.php:r43664-66004
12591260 Merged /branches/wmf-deployment/extensions/CodeReview/backend/CodeRevision.php:r60970

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94506get ride of #c0 in URLhashar12:55, 15 August 2011

Status & tagging log