Thread:Extension talk:MobileFrontend/useformat=mobile works but mobile domain doesn't

http://espiral.org/wk/Happiness_for_everyone?useformat=mobile works but if you try to access through the mobile link view you'll get an error:

http://m.espiral.org/wk/Happiness_for_everyone

This is the version tagged "1.21". I have tried with the branch "production" but won't work either.

In LocalSettings:

$wgMobileUrlTemplate = 'm.%h0.%h1';