From d20259aa9e106d0e9a9347efefd4be7972f194b0 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 19 Jan 2011 15:31:09 +0100 Subject: wikihelp: Skip encoding when uploading, it's already in utf-8. --- helpcontent2/upload-wiki.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpcontent2') diff --git a/helpcontent2/upload-wiki.pl b/helpcontent2/upload-wiki.pl index d5b5f556de..7712f01932 100755 --- a/helpcontent2/upload-wiki.pl +++ b/helpcontent2/upload-wiki.pl @@ -128,7 +128,7 @@ sub upload_article { $mw->edit( { action => 'edit', title => $pagename, - text => $text } ) || die $mw->{error}->{code} . ': ' . $mw->{error}->{details}; + text => $text }, { skip_encoding => 1 } ) || die $mw->{error}->{code} . ': ' . $mw->{error}->{details}; } File::Find::find( {wanted => \&upload_article}, 'wiki/' ); -- cgit