Last modified: 2006-08-29 17:20:25 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 7160 - Language::isMultibyte() doesn't work with language code fr
Language::isMultibyte() doesn't work with language code fr
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.8.x
PC Windows XP
: Normal critical with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 7045
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-29 03:10 UTC by STyx
Modified: 2006-08-29 17:20 UTC (History)
0 users

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


Attachments

Description STyx 2006-08-29 03:10:48 UTC
This bug appeares with r16114 (U    languages/Language.php).
Page (such that
http://127.0.0.1/wiki/Cat%C3%A9gorie:Mod%C3%A8le
http://127.0.0.1/wiki/Mod%C3%A8le:M
) with accentuated character in namespace (for language code fr) no longer
exists. But template still works.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-29 03:15:20 UTC
Please link to a page where this bug is exhibited, and please describe the
problem more precisely.  http://fr.wikipedia.org/wiki/Cat%C3%A9gorie:Mod%C3%A8le
shows up correctly for me, as do the templates and categories I went to from
there.  What do you mean, page no longer exists?
Comment 2 STyx 2006-08-29 16:53:33 UTC
version:
#  MediaWiki: 1.8alpha (r16257)
# PHP: 5.1.4 (apache)
# MySQL: 4.1.9-max 

This bug is resolved when I restore the "^" in function isMultibyte :

	function isMultibyte( $str ) {
		return (bool)preg_match( '/^[\x80-\xff]/', $str );
	}

Of course, these pages still exist in the database, but I can't get such pages.
I get message (that is 'noarticletext') :
"Il n'y a pour l'instant aucun texte sur cette page, vous pouvez faire une
recherche pour le titre de cette page ou modifier cette page"

May be, fr.wikipedia.org uses a different OS (encoding problems often depend on OS).
Comment 3 STyx 2006-08-29 16:55:17 UTC
templates still work but "[[Catégorie:Physique]]" creates a red link.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-29 17:07:00 UTC
Is this on Wikimedia Foundation projects, or only on your local installation? 
What OS are you using, and is the mbstring extension installed in your copy of PHP?
Comment 5 STyx 2006-08-29 17:20:25 UTC
local installation
OS: Windows XP

php.ini:
[mbstring]
;empty. nothing is uncommented.
;PHPExt
extension=php_mbstring.dll
extension=php_gd2.dll
extension=php_mysql.dll

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


Navigation
Links