r61984 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61983‎ | r61984 | r61985 >
Date:18:40, 4 February 2010
Author:platonides
Status:ok
Tags:
Comment:
Increase the path length.

UsabilityInitiative has many folders:
/trunk/extensions/UsabilityInitiative/
/trunk/extensions/UsabilityInitiative/WikiEditor/
/trunk/extensions/UsabilityInitiative/ClickTracking/
/trunk/extensions/UsabilityInitiative/UserDailyContribs/
etc.

and currently all of them are collapsed as /trunk/extensions/UsabilityIni...
This new limit will allow to differenciate between them.
If this is too large we should look into collapsing the beginning of the path instead of the end.
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRevisionListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php
@@ -342,7 +342,7 @@
343343 return Xml::openElement( 'div', array( 'title' => (string)$value ) ) .
344344 $this->mView->mSkin->link(
345345 SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/path' ),
346 - $wgLang->truncate( (string)$value, 30 ),
 346+ $wgLang->truncate( (string)$value, 50 ),
347347 array( 'title' => (string)$value ),
348348 array( 'path' => (string)$value ) ) . "</div>";
349349 }

Status & tagging log