r47386 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47385‎ | r47386 | r47387 >
Date:22:34, 17 February 2009
Author:demon
Status:deferred
Tags:
Comment:
Followup: Make the repo names 'shared-repo-name-'. Someone might name their repo 'from' and then complain.
Modified paths:
  • /trunk/phase3/includes/filerepo/FileRepo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/FileRepo.php
@@ -548,8 +548,8 @@
549549 if ( $this->name == 'local' ) {
550550 return null;
551551 }
552 - $repoName = wfMsg( 'shared-repo-' . $this->name );
553 - if ( !wfEmptyMsg( 'shared-repo-' . $this->name, $repoName ) ) {
 552+ $repoName = wfMsg( 'shared-repo-name-' . $this->name );
 553+ if ( !wfEmptyMsg( 'shared-repo-name-' . $this->name, $repoName ) ) {
554554 return $repoName;
555555 }
556556 return wfMsg( 'shared-repo' );

Status & tagging log