From 4f0bafc5c1adb0ed3fb92f93aced3644004ed79c Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 17 Feb 2009 22:34:22 +0000 Subject: [PATCH] Followup: Make the repo names 'shared-repo-name-'. Someone might name their repo 'from' and then complain. --- includes/filerepo/FileRepo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index fb586e0592..02feb041a9 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -548,8 +548,8 @@ abstract class FileRepo { if ( $this->name == 'local' ) { return null; } - $repoName = wfMsg( 'shared-repo-' . $this->name ); - if ( !wfEmptyMsg( 'shared-repo-' . $this->name, $repoName ) ) { + $repoName = wfMsg( 'shared-repo-name-' . $this->name ); + if ( !wfEmptyMsg( 'shared-repo-name-' . $this->name, $repoName ) ) { return $repoName; } return wfMsg( 'shared-repo' ); -- 2.20.1