Fix loading of canonical url and site name settings
In the case of Wikipedia, $major needs to be 'wikipedia'
and not 'wiki'.
This worked previously because although no match was found
for the wikipedia sites, the default setting assumed
Wikipedia. The default has been removed / changed in wmf
settings so now these were null and blank.