diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-09-19 10:09:22 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2018-01-03 04:33:49 +0100 |
commit | 7c78c30b297d368b94ab82f761c032b59f225c06 (patch) | |
tree | f427f09846a8260c6486df6babf1694234c606b6 /upload-wiki.pl | |
parent | 1228aaeb66e050dfacd1ac57ec785bc2e13997df (diff) |
Fix typos
Change-Id: I7ef82f8d2896f3687be1aacfd08b8cf0d0d6e105
Reviewed-on: https://gerrit.libreoffice.org/47273
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'upload-wiki.pl')
-rwxr-xr-x | upload-wiki.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/upload-wiki.pl b/upload-wiki.pl index f49c7393c2..d8b31b2be0 100755 --- a/upload-wiki.pl +++ b/upload-wiki.pl @@ -22,7 +22,7 @@ upload-wiki.pl [...] - Uploads the wiki/ subdir to a real wiki installation. -p - Don't upload the pages themselves -r - Upload also the redirects -You need a wikisetup.txt in this directory, to be able to authentificate you. +You need a wikisetup.txt in this directory, to be able to authenticate you. The content should be: wiki=<url of the api.php on the wiki> @@ -191,7 +191,7 @@ if ( $upload_images ) { iiprop => 'sha1', titles => 'File:'.$imagename } ); my $mwimagesha1 = ""; - #FIXME: bad style, this foreach should konsist only ONE imageid --> do that nicelier + #FIXME: bad style, this foreach should consist only ONE imageid --> do that nicelier foreach my $imageid (keys $mwquery->{'query'}{'pages'}) { $mwimagesha1 = $mwquery->{'query'}{'pages'}{$imageid}{'imageinfo'}->[0]->{'sha1'}; } @@ -205,7 +205,7 @@ if ( $upload_images ) { $imageuploadmsg = 'Initial upload.'; upload_file_to_mw(); } else { - print "Skipping image '$imagename', sha1 identially to already uploaded image.\n"; + print "Skipping image '$imagename', sha1 identically to already uploaded image.\n"; } } } |