I was just copying the style from CheckTitle: $sTitle = $wgRequest->getVal( 'title' ). You're right though, the variable isn't really necessary so I've eliminated it.