Currently we use absolute paths in Reverb, which causes removal of lang in path. mw.Title should be able to generate full paths correctly regardless of the wiki url.
lang
mw.Title