summaryrefslogtreecommitdiff
path: root/helpcontent2/upload-wiki.pl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-01-19 15:31:09 +0100
committerJan Holesovsky <kendy@suse.cz>2011-01-19 15:31:09 +0100
commitd20259aa9e106d0e9a9347efefd4be7972f194b0 (patch)
treea8b7fc502ce480d00b1403abc80d8027494491e5 /helpcontent2/upload-wiki.pl
parent28ed56a4b3265ead11fcc27d50734688e744c8f7 (diff)
wikihelp: Skip encoding when uploading, it's already in utf-8.
Diffstat (limited to 'helpcontent2/upload-wiki.pl')
-rwxr-xr-xhelpcontent2/upload-wiki.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcontent2/upload-wiki.pl b/helpcontent2/upload-wiki.pl
index d5b5f556d..7712f0193 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/' );