Last modified: 2011-03-13 18:05:12 UTC
By using a predefined naming scheme, we can control all logos and favicons from meta, eliminating an entire class of shell requests, and improving response time. Shell keyword may not be correct at the moment, as logos and favicons would have to be moved to Meta first, I think. <Mike_lifeguard> Where would $wgFavicon be located for WMF? <Mike_lifeguard> some are in InitialiseSettings.php, but not all <MrZ-man|busy> CommonSettings? <Mike_lifeguard> can't find it there <Splarka> maybe the ones that don't specify it just use the default? <Splarka> $wgFavicon = '/favicon.ico'; <Mike_lifeguard> if so, that's not something I can change through the wiki, right? <Splarka> indeed, nope <Mike_lifeguard> I mean to change the logo is easy because we can change the actual image. <Mike_lifeguard> But not the favicon. <Splarka> perhaps all projects could call them from meta ^_^ <Mike_lifeguard> meh; IIRC most are on Commons. <Splarka> right, but I mean... <Splarka> have CommonSettings.php define for default... <Splarka> $wgFavicon = 'http://meta.wikimedia.org/wiki/Special:FilePath/En_wikipedia_favicon.ico' for example <Mike_lifeguard> Might be useful. And for favicons too. Would save some shell requests <Splarka> (well, something better, that would serve a generic blank icon if none specified, and not use a 30x redirect, as opera doesn't like that sometimes) <Mike_lifeguard> Getting rid of entire categories of shell requests should be a priority IMO
I don't like the idea to go through the entire MediaWiki stack and send a redirect for each icon request. Come back when you have something better :-)