Last modified: 2010-05-15 15:33:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1364 - incorrect "clean up whitespace" regexps in Title:SecureAndSplit
incorrect "clean up whitespace" regexps in Title:SecureAndSplit
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.4.x
PC Windows Server 2003
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-19 17:19 UTC by ynot
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description ynot 2005-01-19 17:19:12 UTC
1.4 beta 5 bug:

$t = preg_replace( '/[\\s_]+/', '_', $this->mDbkeyform );
$t = trim( $t, '_' );

if we use utf8 in mediawiki, some urls corrupts and wiki shows the page about "incorrect title". For example, 
russian letter "P" in utf8 looks like \xD0\xA0. This code replaces А0 with underscore and deletes it, so we 
have corrupted utf8 string.

1.3.9 works well
$t = preg_replace( "/[ _]+/", "_", $this->mDbkeyform );
$t = preg_replace( '/^_*(.*?)_*$/', '$1', $t );
Comment 1 JeLuF 2005-01-23 16:32:22 UTC
fixed

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links