diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-01-19 15:31:09 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-01-19 15:31:09 +0100 |
commit | d20259aa9e106d0e9a9347efefd4be7972f194b0 (patch) | |
tree | a8b7fc502ce480d00b1403abc80d8027494491e5 /helpcontent2/upload-wiki.pl | |
parent | 28ed56a4b3265ead11fcc27d50734688e744c8f7 (diff) |
wikihelp: Skip encoding when uploading, it's already in utf-8.
Diffstat (limited to 'helpcontent2/upload-wiki.pl')
-rwxr-xr-x | helpcontent2/upload-wiki.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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/' ); |