* (bug 6777) Remove some PHP 4 compat cruft
* Add --user, --comment, and --license options to importImages.php
* (bug 6216) The immobile namespace message does not mention the source page
+* (bug 7299) Normalize username filter on Special:Newpages
== Languages updated ==
}
function makeUserWhere( &$dbo ) {
- return $this->username ? ' AND rc_user_text = ' . $dbo->addQuotes( $this->username ) : '';
+ $title = Title::makeTitleSafe( NS_USER, $this->username );
+ if( $title ) {
+ return ' AND rc_user_text = ' . $dbo->addQuotes( $title->getText() );
+ } else {
+ return '';
+ }
}
function getSQL() {