r92868 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92867‎ | r92868 | r92869 >
Date:17:32, 22 July 2011
Author:demon
Status:ok
Tags:
Comment:
Followup r91925: minor w/s tweak && don't rely on opaque __toString() magic.
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRevisionListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php
@@ -227,14 +227,14 @@
228228 $name = $this->mRepo->getName();
229229
230230 $title = SpecialPage::getTitleFor( 'Code', $name );
231 - $options = array(Xml::option('', $title, $this->mStatus == '' ) );
 231+ $options = array( Xml::option( '', $title->getPrefixedText(), $this->mStatus == '' ) );
232232
233233
234 - foreach ($states as $key => $state) {
 234+ foreach ( $states as $key => $state ) {
235235 $title = SpecialPage::getTitleFor( 'Code', $name . "/status/$state" );
236236 $options[] = Xml::option(
237 - wfMsgHtml( "code-status-".$state ),
238 - $title,
 237+ wfMsgHtml( "code-status-$state" ),
 238+ $title->getPrefixedText(),
239239 $this->mStatus == $state
240240 );
241241 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91925CodeReview: Add a dropdown to revision list to specify status filter. Bug 29810diebuche23:39, 11 July 2011

Status & tagging log