* @return string
*/
private function getCanonicalUserName( $name ) {
- return str_replace( '_', ' ', $name );
+ return strtr( $name, '_', ' ' );
}
public function execute() {
'rights',
'editcount',
'registration'
- )
+ ),
+ ApiBase::PARAM_HELP_MSG_PER_VALUE => array(),
),
'limit' => array(
ApiBase::PARAM_DFLT => 10,