Author: neilk
Description:
In UploadWizardTutorial, the method of obtaining the localized tutorial file is overly naive; if the exact language is not available it shows an apology and error.
However, there are fallbacks mechanisms for dialects that are well known within MediaWiki code (for instance en-gb can fall back to en without much difficulty).
Since the fallbacks can sometimes involve trying multiple dialects, and looking up the existence of a file can be potentially time-consuming, the mapping of a language dialect to the best available tutorial may need to be cached.
Version: unspecified
Severity: normal