Followup: Make the repo names 'shared-repo-name-'. Someone might name their repo...
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 17 Feb 2009 22:34:22 +0000 (22:34 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 17 Feb 2009 22:34:22 +0000 (22:34 +0000)
includes/filerepo/FileRepo.php

index fb586e0..02feb04 100644 (file)
@@ -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' );