When i run "php maintenance/generateSitemap.php" then the script fails with the following message:
0 ()
/var/www/xyz/htdocs/mediawiki-1.24.1/sitemap-xyz-NS_0-0.xml.gz
1 (Diskussion)
/var/www/xyz/htdocs/mediawiki-1.24.1/sitemap-xyz-NS_1-0.xml.gz
A database query error has occurred.
Query: SELECT user_name,up_value FROM `user` LEFT JOIN `user_properties` ON ((user_id = up_user) AND up_property = 'gender') WHERE user_name = '𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁𨮁喃'
Function: GenderCache::doQuery/MediaWikiTitleCodec::getNamespaceName
Error: 1300 Invalid utf8 character string: 'F0A8AE' (localhost)
Script is failing in function "generateLimit" in the row 561 ($title->getCanonicalURL(),).
A few lines above (line 555) there is a title created with the exact that utf8 sequence failing in the query.
// bug 17961: make a title with the longest possible URL in this namespace
$title = Title::makeTitle( $namespace, str_repeat( "\xf0\xa8\xae\x81", 63 ) . "\xe5\x96\x83" );