File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55use App \Wiki ;
66use Exception ;
77
8+ /**
9+ * Exception thrown when a database version is not recognized in MediaWikiHostResolver.
10+ */
11+ class UnknownDBVersionException extends Exception {}
12+
813class MediaWikiHostResolver {
914 // TODO: Move this mapping to a config file so that MW updates do not require code changes here.
1015 /** @var array<string, string> Map of DB version strings to MediaWiki backend version strings */
@@ -35,8 +40,3 @@ public function getMwVersionForDomain(string $domain): string {
3540 throw new UnknownDBVersionException ("Unknown DB version ' {$ dbVersion }' for domain ' {$ domain }'. " );
3641 }
3742}
38-
39- /**
40- * Exception thrown when a database version is not recognized in MediaWikiHostResolver.
41- */
42- class UnknownDBVersionException extends Exception {}
You can’t perform that action at this time.
0 commit comments