The text "//upload.wikimedia.org/wikipedia/commons/" in InitialiseSettings.php is currently duplicated a lot (over 350 times; cf. https://noc.wikimedia.org/conf/InitialiseSettings.php.txt). I'm wondering whether it makes sense to store this string in a reusable variable (e.g., $commonsPath).
Pro: it would reduce the overall file size and make certain sections (particularly the logo section) easier to read.
Con: it would slightly obfuscate the path to (for example) a logo. Rather than being a mostly complete string as it is now, it would become "$commonsPath . /1/d/whatever.png".
Version: wmf-deployment
Severity: enhancement