Extension talk:Phalanx

Is the getFSD function in SpecialPhalanxStats.body.php one of the functions which relies on the specific ShoutWiki setup? Wondering since I came across the phalanx-stats-entry-message which has shoutwiki.com hardcoded as its domain and only gets the subdomain through the above mentioned function. Would it be possible to also query for the domain? /André Costa (WMSE) (talk) 18:05, 2 September 2014 (UTC)


 * Yes, FSD is ShoutWiki jargon for Full SubDomain; FullSubdomain is fi.24 for fi.24.shoutwiki.com (language code is a part of the subdomain), but depending on what an individual wiki's founder chose, the Full SubDomain might not include the language code: i.e. laptops.shoutwiki.com (not en.laptops.shoutwiki.com).


 * There's no (sane) programmatical way to query for the domain, nor would it be sensible in our context; all ShoutWiki wikis are accessible through a subdomain.shoutwiki.com URL. For example TechInfoDepot's canonical URL is TechInfoDepot.info, but techinfodepot.shoutwiki.com works equally well, too. Not having to query for the domain means at least one saved SQL query per page view (though in practise it doesn't mean much; Phalanx's performance is horrible enough as-is). --Jack Phoenix (Contact) 23:42, 26 October 2014 (UTC)