For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
I'm pretty sure there is a better way to do this using SpecialPage functions.
Are you afraid that getTitle() will produce something like Special:Listusers/foo ? Upon reading the code for SpecialPage::getTitle(), I don't see how that could happen.
Special:Listusers/foo
That code is in a subclass of Pager, not SpecialPage.