{"id":462558,"date":"2025-06-09T15:00:49","date_gmt":"2025-06-09T15:00:49","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=462558"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=462558","title":{"rendered":"<span>\u041d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f gThumb (\u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0444\u043e\u0442\u043e) \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u0432 Wikimedia Commons, \u0434\u043e\u0432\u043e\u043b\u0435\u043d<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e \u043c\u043d\u043e\u0433\u043e (\u043a\u0430\u043a \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c) \u0444\u043e\u0442\u043e (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e) \u0432 <a href=\"https:\/\/commons.wikimedia.org\/w\/index.php?title=Special:ListFiles\/Vitaly_Zdanevich&amp;ilshowall=1\" rel=\"noopener noreferrer nofollow\">Wikimedia Commons<\/a>. \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u0412\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0435\u0439, \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043e\u0441\u043e\u0431\u044b\u0439: \u043d\u0435\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439, \u0442\u043e\u0436\u0435 \u0436\u0438\u0432\u0435\u0442 \u043d\u0430 \u0434\u043e\u043d\u0430\u0442\u044b, \u0431\u0435\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u044b \u0438 \u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432, \u0432\u0441\u0451 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044f\u0445. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0443\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 &#8212; \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431 \u043a\u043b\u0438\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u043e\u0436\u043d\u044b\u0439, \u044d\u0442\u043e \u043d\u0435 \u0432 \u0424\u0435\u0439\u0441\u0431\u0443\u043a \u043f\u0435\u0440\u0435\u0442\u044f\u043d\u0443\u0442\u044c \u0444\u043e\u0442\u043e. \u042d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430, \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430, \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u043e\u0433\u0440\u043e\u043c\u043d\u043e, \u0435\u0441\u0442\u044c <a href=\"https:\/\/commons.wikimedia.org\/wiki\/Commons:Upload_tools\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u0441\u044f\u0442\u043e\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/a>. \u0418 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e, \u0437\u0430 \u0432\u0435\u0447\u0435\u0440, \u044f \u0441\u0434\u0435\u043b\u0430\u043b, \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e, \u043e\u0434\u0438\u043d \u0438\u0437 \u043b\u0443\u0447\u0448\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u0435\u0447\u0442\u0430\u043b \u0433\u043e\u0434\u0430\u043c\u0438. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f gThumb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 <a href=\"https:\/\/github.com\/wikimedia\/pywikibot\" rel=\"noopener noreferrer nofollow\">SDK Pywikibot<\/a> \u043d\u0430 \u041f\u0438\u0442\u043e\u043d\u0435, \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438 <a href=\"https:\/\/pypi.org\/project\/IPTCInfo3Plus\/\" rel=\"noopener noreferrer nofollow\">IPTC<\/a> \u0442\u0435\u0433\u043e\u0432 &#8212; \u0433\u0434\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438, \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e &#8212; \u041a\u043e\u043c\u043c\u043e\u043d\u0441 \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043c\u043e\u0439\u043a\u0430, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0438 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0431\u044f\u0442\u0430 \u0441\u0442\u0430\u0440\u0430\u044e\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7ce\/135\/60e\/7ce13560e3efb1fac50e26d0c8e3b920.png\" alt=\"gThumb, \u0441\u043b\u0435\u0432\u0430 \u043e\u043a\u043d\u043e \u0441 \u0442\u0435\u0433\u0430\u043c\u0438\" title=\"gThumb, \u0441\u043b\u0435\u0432\u0430 \u043e\u043a\u043d\u043e \u0441 \u0442\u0435\u0433\u0430\u043c\u0438\" width=\"1280\" height=\"803\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/7ce\/135\/60e\/7ce13560e3efb1fac50e26d0c8e3b920.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7ce\/135\/60e\/7ce13560e3efb1fac50e26d0c8e3b920.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption><a href=\"https:\/\/en.wikipedia.org\/wiki\/GThumb\" rel=\"noopener noreferrer nofollow\">gThumb<\/a>, \u0441\u043b\u0435\u0432\u0430 \u043e\u043a\u043d\u043e \u0441 \u0442\u0435\u0433\u0430\u043c\u0438<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0442\u0430\u043a\u043e\u0432\u0430, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u044f \u0434\u043e\u043b\u0433\u043e \u043f\u044b\u0442\u0430\u043b\u0441\u044f <a href=\"https:\/\/github.com\/trougnouf\/dtMediaWiki\/issues?q=is%3Aissue%20state%3Aopen%20author%3Avitaly-zdanevich\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c<\/a> \u0434\u0440\u0443\u0433\u043e\u0439 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 &#8212; \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/github.com\/trougnouf\/dtMediaWiki\" rel=\"noopener noreferrer nofollow\">dtMediaWiki<\/a>, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 Lua, \u0434\u043b\u044f <a href=\"https:\/\/www.darktable.org\" rel=\"noopener noreferrer nofollow\">Darktable<\/a>. \u041d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 <a href=\"https:\/\/github.com\/darktable-org\/darktable\/issues\/18819\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u0444\u0435\u043a\u0442\u043e\u043c<\/a> \u0441\u0430\u043c\u043e\u0433\u043e Darktable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0445\u043e\u0436\u0435 \u043b\u0438\u0448\u044c \u043d\u0430 \u043c\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 &#8212; segmentation fault \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u0414\u0430 \u0438 \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u0447\u0442\u043e Darktable \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043a\u043e\u043f\u0438\u044f\u043c\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435.<\/p>\n<p>\u0423\u0432\u0438\u0434\u0435\u043b \u0447\u0442\u043e \u0432 gThumb \u0435\u0441\u0442\u044c <a href=\"https:\/\/help.gnome.org\/users\/gthumb\/stable\/gthumb-extensions.html.en\" rel=\"noopener noreferrer nofollow\">\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f<\/a>, \u043d\u0430 C, \u043f\u043e\u0434\u0443\u043c\u044b\u0432\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043d\u0451\u043c, \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0437\u0430 \u0448\u0435\u0441\u0442\u044c, \u0432\u0435\u0434\u044c \u0441 \u044d\u0442\u0438\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u043e\u043f\u044b\u0442\u0430 \u043c\u0430\u043b\u043e. \u0410 \u043f\u043e\u0442\u043e\u043c \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u0440\u0433\u0430\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u044f\u0437\u044b\u043a\u0435 &#8212; \u0438\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u0444\u043e\u0442\u043e\u043a. \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f &#8212; \u0438 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0445\u043e\u0440\u043e\u0448\u043e. \u0414\u043e \u0441\u043e\u0444\u0442\u0430 \u043c\u0435\u0447\u0442\u044b \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043b\u0438\u0448\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u043d\u0443 \u043d\u0435 \u0432\u0435\u043b\u0438\u043a\u0430 \u043f\u0435\u0447\u0430\u043b\u044c; \u043f\u043e\u0438\u0441\u043a \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439 \u0434\u043b\u044f Wikimedia Commons \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u0435\u0451 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 &#8212; \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.<\/p>\n<p>\u0412\u043e\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e <a href=\"https:\/\/gitlab.com\/vitaly-zdanevich\/upload-to-commons-with-categories-from-iptc\" rel=\"noopener noreferrer nofollow\">\u0441\u043a\u0440\u0438\u043f\u0442\u0430<\/a>:<\/p>\n<pre><code>#!\/usr\/bin\/env python3  import sys import os  import string  from iptcinfo3 import IPTCInfo  import pywikibot from pywikibot.specialbots import UploadRobot  pywikibot.config.put_throttle = 0  # Set to 0 to disable throttling  # print('pywikibot.config.max_retries:', pywikibot.config.max_retries)  # https:\/\/pypi.org\/project\/IPTCInfo3Plus info = IPTCInfo(sys.argv[1])  categories = '' for val in info['keywords']:     if val.startswith(b'Category:'):         categories += '[[' + val.decode('utf-8').replace('_', ',') + ']]\\n' categories = categories.rstrip('\\n')  site = pywikibot.Site('commons', 'commons')  username = site.username()  description = info['caption\/abstract'].decode('utf-8') if info['caption\/abstract'] else ''  description = string.Template('''=={{int:filedesc}}== {{Information |description={{en|1=$description}} |Source         = {{own}} |Author         = [[User:$username|$username]] }} =={{int:license-header}}== {{self|CC-BY-4.0}} $categories [[Category:Uploaded with gThumb script]]''').substitute(locals())  filename = os.path.basename(sys.argv[1]) print('filename:', filename)  def post_processor(old: str, new: str | None) -&gt; None:     info['source'] = 'https:\/\/commons.wikimedia.org\/wiki\/File:' + filename.replace(' ', '_')     info['keywords'].append('uploaded')     info.save()  print(description)  # https:\/\/doc.wikimedia.org\/pywikibot\/master\/api_ref\/pywikibot.specialbots.html#specialbots.UploadRobot.run bot = UploadRobot(     sys.argv[1],     description=description,     keep_filename=True,     ignore_warning=True,     target_site=site,     summary='Uploaded through gThumb with https:\/\/gitlab.com\/vitaly_zdanevich\/upload_to_commons_with_categories_from_iptc',     always=True )  bot.post_processor = post_processor  def global_exception_handler(*args):     exc_type, exc_value, exc_traceback = sys.exc_info()     # print(vars(exc_value))     # print('code:', exc_value.code)     if exc_value.code == 'fileexists-no-change':         print('SHA256 of this image already exists, do nothing')  pywikibot.exception = global_exception_handler  bot.run()  print('\\n----------\\n')<\/code><\/pre>\n<p>\u041c\u0435\u043d\u044c\u0448\u0435 \u0441\u043e\u0442\u043d\u0438 \u0441\u0442\u0440\u043e\u043a, \u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442.<\/p>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u0441 \u0444\u043e\u0442\u043e (\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430), \u0432\u044b\u043d\u0438\u043c\u0430\u0435\u0442 <a href=\"https:\/\/en.wikipedia.org\/wiki\/International_Press_Telecommunications_Council\" rel=\"noopener noreferrer nofollow\">IPTC<\/a> \u0442\u0435\u0433\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043d\u0430 <strong>Category:<\/strong> \u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u043e\u0436\u0435 \u0431\u0435\u0440\u0451\u0442 \u0438\u0437 \u043c\u0435\u0442\u0430-\u0442\u0435\u0433\u0430<strong>,<\/strong> \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442. One-by-one, \u043d\u0435 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e &#8212; \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0443\u0434\u0430\u0440\u0438\u0442\u044c\u0441\u044f \u0432 \u043b\u0438\u043c\u0438\u0442\u0435\u0440\u044b, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435. \u0415\u0441\u043b\u0438 \u0441\u0442\u043e\u043b\u043a\u043d\u0451\u0442\u0435\u0441\u044c \u0441 \u044d\u0442\u0438\u043c &#8212; \u0443 Wikimedia \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u0430\u0432. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u043d\u043e \u0438 \u0431\u0435\u0437 gThumb, \u043b\u0438\u0431\u043e \u0438\u0437 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 &#8212; \u0441\u0442\u0430\u0432\u0438\u0442 \u0432 \u043c\u0435\u0442\u0430-\u0434\u0430\u043d\u043d\u044b\u0435 \u043b\u0438\u043d\u043a, \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0435\u0433 <strong>uploaded<\/strong>, \u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>gThumb, \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0447\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0441 \u043d\u0443\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0432\u043e\u0451 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u043c\/\u044d\u043a\u0441\u0442\u0435\u043d\u0448\u0435\u043d\u043e\u043c \u0434\u043b\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043d\u0435\u0448\u043d\u044f\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0444\u043e\u0442\u043e\u043a, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438\/\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0430\u043d\u0430\u043b\u0438\u0437, \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0430-\u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041d\u0430 \u0440\u0430\u0434\u043e\u0441\u0442\u044f\u0445 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u043a, \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 &#8212; <a href=\"https:\/\/gitlab.com\/vitaly-zdanevich\/image-path-to-openstreetmap\" rel=\"noopener noreferrer nofollow\">\u0447\u0438\u0442\u0430\u0435\u0442 GPS \u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 OpenStreetMap\/GoogleMaps\/YandexMaps \u043a\u0430\u0440\u0442\u0443 \u0434\u043b\u044f \u0444\u043e\u0442\u043e<\/a> &#8212; \u043f\u0443\u0442\u0451\u043c \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043b\u0438\u043d\u043a\u0430:<\/p>\n<pre><code>#!\/usr\/bin\/env python3  import sys from fractions import Fraction import webbrowser  import exifread   def convert_to_decimal(coord):     deg = float(coord.values[0])     min = float(coord.values[1]) \/ 60     sec = float(Fraction(coord.values[2])) \/ 3600     return deg + min + sec  with open(sys.argv[1], 'rb') as file_handle:     tags = exifread.process_file(file_handle)     for tag, value in tags.items():         if tag not in ('JPEGThumbnail', 'TIFFThumbnail', 'Filename', 'EXIF MakerNote'):             if tag == 'GPS GPSLatitude':                 lat = value             if tag == 'GPS GPSLongitude':                 lon = value             if tag == 'GPS GPSLatitudeRef':                 lat_ref = str(value)             if tag == 'GPS GPSLongitudeRef':                 lon_ref = str(value)  lat_dec = convert_to_decimal(lat) lon_dec = convert_to_decimal(lon)  if lat_ref in ['S']:     lat_dec = -lat_dec if lon_ref in ['W']:     lon_dec = -lon_dec  if len(sys.argv) &gt; 2:         if sys.argv[2] == 'google':             webbrowser.open(f'https:\/\/www.google.com\/maps?q={lat_dec},{lon_dec}')         else:            webbrowser.open(f'https:\/\/yandex.com\/maps\/?pt={lon_dec},{lat_dec}&amp;z=18') else:     webbrowser.open(f'https:\/\/www.openstreetmap.org\/?mlat={lat_dec}&amp;mlon={lon_dec}&amp;zoom=18') <\/code><\/pre>\n<p>\u041f\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f gThumb, \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u0439\u0442\u0435 \u0438\u0445 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u0445, \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u043f\u0440\u043e SEO &#8212; \u043f\u0438\u0448\u0438\u0442\u0435 README, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0432 Gitlab\/Github \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0442\u0438. \u041c\u043e\u0436\u0435\u0442\u0435 \u0438 \u043c\u043d\u0435 \u043b\u0438\u0447\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043e \u0432\u0430\u0448\u0435\u043c \u043d\u043e\u0432\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0435, \u044f \u043f\u043e\u0440\u0430\u0434\u0443\u044e\u0441\u044c \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e \u0441\u0435\u0431\u0435 \ud83d\ude42<\/p>\n<p>\u0415\u0449\u0451 \u043e\u0434\u043d\u0430 \u0446\u0435\u043b\u044c \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u043d\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0432\u0430\u043c \u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0438 Wikimedia Commons, \u0433\u0434\u0435 \u0443\u0436\u0435 120 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0434\u0430\u0436\u0435 <a href=\"https:\/\/commons.wikimedia.org\/wiki\/File:0_A.D._cattle_female_a_smooth.stl\" rel=\"noopener noreferrer nofollow\">3D \u043c\u043e\u0434\u0435\u043b\u0438<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0434\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0432\u0430\u0448\u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435 \u0444\u043e\u0442\u043e, \u0432\u0438\u0434\u0435\u043e (\u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u0435\u043a\u0430\u0445), \u0430\u0443\u0434\u0438\u043e. \u0411\u0435\u0437\u043b\u0438\u043c\u0438\u0442\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u0444\u043e\u0442\u043e, public only, \u0433\u0434\u0435 \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u0431\u0443\u0434\u0435\u0442 \u0431\u0435\u0440\u0435\u0436\u043d\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c \u0432\u0430\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0430\u0448\u0438 \u043f\u0438\u043a\u0441\u0435\u043b\u0438. \u0410 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0438 \u0431\u0435\u0437 Commons &#8212; \u043e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0441\u0432\u043e\u0438 \u0441\u0442\u0430\u0440\u044b\u0435 \u0441\u0435\u043c\u0435\u0439\u043d\u044b\u0435 \u0430\u043b\u044c\u0431\u043e\u043c\u044b, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0440\u043e\u043f\u0430\u043b\u0438.<\/p>\n<p>\u0410 \u0435\u0449\u0451, \u0447\u0435\u043c \u044f \u0438\u043d\u043e\u0433\u0434\u0430 \u0442\u043e\u0436\u0435 \u0432 \u043c\u0435\u0440\u0443 \u0441\u0438\u043b \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c &#8212; \u043f\u0438\u0448\u0443 \u043b\u044e\u0434\u044f\u043c \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043c\u043d\u043e\u0433\u043e \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439, \u0438 \u043f\u0440\u043e\u0448\u0443 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432 Wikimedia Commons, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c, \u0432\u0435\u0434\u044c \u044f \u0443\u0436\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u043d\u0430\u044e \u043a\u0430\u043a \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u0441\u0430\u0439\u0442\u044b \u0438 \u043b\u0438\u0447\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430, \u0438 \u043b\u044e\u0434\u0438 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u0441\u043c\u0435\u0440\u0442\u043d\u044b. \u042d\u0442\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0438 \u043a \u0432\u0430\u043c &#8212; \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u044b \u0444\u043e\u0442\u043e\u0441\u043d\u0438\u043c\u043a\u043e\u043c, \u0438\u043b\u0438 \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 &#8212; \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043c\u043d\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043b\u0438\u0431\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0430\u043c\u0438 \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0430\u0440\u0445\u0438\u0432\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/916780\/\"> https:\/\/habr.com\/ru\/articles\/916780\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044e \u043c\u043d\u043e\u0433\u043e (\u043a\u0430\u043a \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c) \u0444\u043e\u0442\u043e (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e) \u0432 <a href=\"https:\/\/commons.wikimedia.org\/w\/index.php?title=Special:ListFiles\/Vitaly_Zdanevich&amp;ilshowall=1\" rel=\"noopener noreferrer nofollow\">Wikimedia Commons<\/a>. \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u0412\u0438\u043a\u0438\u043f\u0435\u0434\u0438\u0435\u0439, \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043e\u0441\u043e\u0431\u044b\u0439: \u043d\u0435\u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439, \u0442\u043e\u0436\u0435 \u0436\u0438\u0432\u0435\u0442 \u043d\u0430 \u0434\u043e\u043d\u0430\u0442\u044b, \u0431\u0435\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u044b \u0438 \u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432, \u0432\u0441\u0451 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044f\u0445. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0443\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 &#8212; \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431 \u043a\u043b\u0438\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u043e\u0436\u043d\u044b\u0439, \u044d\u0442\u043e \u043d\u0435 \u0432 \u0424\u0435\u0439\u0441\u0431\u0443\u043a \u043f\u0435\u0440\u0435\u0442\u044f\u043d\u0443\u0442\u044c \u0444\u043e\u0442\u043e. \u042d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430, \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430, \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u043e\u0433\u0440\u043e\u043c\u043d\u043e, \u0435\u0441\u0442\u044c <a href=\"https:\/\/commons.wikimedia.org\/wiki\/Commons:Upload_tools\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u0441\u044f\u0442\u043e\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/a>. \u0418 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e, \u0437\u0430 \u0432\u0435\u0447\u0435\u0440, \u044f \u0441\u0434\u0435\u043b\u0430\u043b, \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e, \u043e\u0434\u0438\u043d \u0438\u0437 \u043b\u0443\u0447\u0448\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u0435\u0447\u0442\u0430\u043b \u0433\u043e\u0434\u0430\u043c\u0438. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f gThumb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 <a href=\"https:\/\/github.com\/wikimedia\/pywikibot\" rel=\"noopener noreferrer nofollow\">SDK Pywikibot<\/a> \u043d\u0430 \u041f\u0438\u0442\u043e\u043d\u0435, \u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\/\u0437\u0430\u043f\u0438\u0441\u0438 <a href=\"https:\/\/pypi.org\/project\/IPTCInfo3Plus\/\" rel=\"noopener noreferrer nofollow\">IPTC<\/a> \u0442\u0435\u0433\u043e\u0432 &#8212; \u0433\u0434\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438, \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e &#8212; \u041a\u043e\u043c\u043c\u043e\u043d\u0441 \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043c\u043e\u0439\u043a\u0430, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0438 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u0431\u044f\u0442\u0430 \u0441\u0442\u0430\u0440\u0430\u044e\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439.<\/p>\n<figure class=\"full-width\">\n<div><figcaption><a href=\"https:\/\/en.wikipedia.org\/wiki\/GThumb\" rel=\"noopener noreferrer nofollow\">gThumb<\/a>, \u0441\u043b\u0435\u0432\u0430 \u043e\u043a\u043d\u043e \u0441 \u0442\u0435\u0433\u0430\u043c\u0438<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0442\u0430\u043a\u043e\u0432\u0430, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u044f \u0434\u043e\u043b\u0433\u043e \u043f\u044b\u0442\u0430\u043b\u0441\u044f <a href=\"https:\/\/github.com\/trougnouf\/dtMediaWiki\/issues?q=is%3Aissue%20state%3Aopen%20author%3Avitaly-zdanevich\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c<\/a> \u0434\u0440\u0443\u0433\u043e\u0439 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 &#8212; \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/github.com\/trougnouf\/dtMediaWiki\" rel=\"noopener noreferrer nofollow\">dtMediaWiki<\/a>, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 Lua, \u0434\u043b\u044f <a href=\"https:\/\/www.darktable.org\" rel=\"noopener noreferrer nofollow\">Darktable<\/a>. \u041d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 <a href=\"https:\/\/github.com\/darktable-org\/darktable\/issues\/18819\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u0444\u0435\u043a\u0442\u043e\u043c<\/a> \u0441\u0430\u043c\u043e\u0433\u043e Darktable, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0445\u043e\u0436\u0435 \u043b\u0438\u0448\u044c \u043d\u0430 \u043c\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 &#8212; segmentation fault \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u0414\u0430 \u0438 \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u0447\u0442\u043e Darktable \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043a\u043e\u043f\u0438\u044f\u043c\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435.<\/p>\n<p>\u0423\u0432\u0438\u0434\u0435\u043b \u0447\u0442\u043e \u0432 gThumb \u0435\u0441\u0442\u044c <a href=\"https:\/\/help.gnome.org\/users\/gthumb\/stable\/gthumb-extensions.html.en\" rel=\"noopener noreferrer nofollow\">\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f<\/a>, \u043d\u0430 C, \u043f\u043e\u0434\u0443\u043c\u044b\u0432\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043d\u0451\u043c, \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0437\u0430 \u0448\u0435\u0441\u0442\u044c, \u0432\u0435\u0434\u044c \u0441 \u044d\u0442\u0438\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u043e\u043f\u044b\u0442\u0430 \u043c\u0430\u043b\u043e. \u0410 \u043f\u043e\u0442\u043e\u043c \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u0440\u0433\u0430\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u044f\u0437\u044b\u043a\u0435 &#8212; \u0438\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u0444\u043e\u0442\u043e\u043a. \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f &#8212; \u0438 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0445\u043e\u0440\u043e\u0448\u043e. \u0414\u043e \u0441\u043e\u0444\u0442\u0430 \u043c\u0435\u0447\u0442\u044b \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043b\u0438\u0448\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439, \u043a\u0430\u043a \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u043d\u0443 \u043d\u0435 \u0432\u0435\u043b\u0438\u043a\u0430 \u043f\u0435\u0447\u0430\u043b\u044c; \u043f\u043e\u0438\u0441\u043a \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439 \u0434\u043b\u044f Wikimedia Commons \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u0435\u0451 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 &#8212; \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.<\/p>\n<p>\u0412\u043e\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e <a href=\"https:\/\/gitlab.com\/vitaly-zdanevich\/upload-to-commons-with-categories-from-iptc\" rel=\"noopener noreferrer nofollow\">\u0441\u043a\u0440\u0438\u043f\u0442\u0430<\/a>:<\/p>\n<pre><code>#!\/usr\/bin\/env python3  import sys import os  import string  from iptcinfo3 import IPTCInfo  import pywikibot from pywikibot.specialbots import UploadRobot  pywikibot.config.put_throttle = 0  # Set to 0 to disable throttling  # print('pywikibot.config.max_retries:', pywikibot.config.max_retries)  # https:\/\/pypi.org\/project\/IPTCInfo3Plus info = IPTCInfo(sys.argv[1])  categories = '' for val in info['keywords']:     if val.startswith(b'Category:'):         categories += '[[' + val.decode('utf-8').replace('_', ',') + ']]\\n' categories = categories.rstrip('\\n')  site = pywikibot.Site('commons', 'commons')  username = site.username()  description = info['caption\/abstract'].decode('utf-8') if info['caption\/abstract'] else ''  description = string.Template('''=={{int:filedesc}}== {{Information |description={{en|1=$description}} |Source         = {{own}} |Author         = [[User:$username|$username]] }} =={{int:license-header}}== {{self|CC-BY-4.0}} $categories [[Category:Uploaded with gThumb script]]''').substitute(locals())  filename = os.path.basename(sys.argv[1]) print('filename:', filename)  def post_processor(old: str, new: str | None) -&gt; None:     info['source'] = 'https:\/\/commons.wikimedia.org\/wiki\/File:' + filename.replace(' ', '_')     info['keywords'].append('uploaded')     info.save()  print(description)  # https:\/\/doc.wikimedia.org\/pywikibot\/master\/api_ref\/pywikibot.specialbots.html#specialbots.UploadRobot.run bot = UploadRobot(     sys.argv[1],     description=description,     keep_filename=True,     ignore_warning=True,     target_site=site,     summary='Uploaded through gThumb with https:\/\/gitlab.com\/vitaly_zdanevich\/upload_to_commons_with_categories_from_iptc',     always=True )  bot.post_processor = post_processor  def global_exception_handler(*args):     exc_type, exc_value, exc_traceback = sys.exc_info()     # print(vars(exc_value))     # print('code:', exc_value.code)     if exc_value.code == 'fileexists-no-change':         print('SHA256 of this image already exists, do nothing')  pywikibot.exception = global_exception_handler  bot.run()  print('\\n----------\\n')<\/code><\/pre>\n<p>\u041c\u0435\u043d\u044c\u0448\u0435 \u0441\u043e\u0442\u043d\u0438 \u0441\u0442\u0440\u043e\u043a, \u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442.<\/p>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u0441 \u0444\u043e\u0442\u043e (\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430), \u0432\u044b\u043d\u0438\u043c\u0430\u0435\u0442 <a href=\"https:\/\/en.wikipedia.org\/wiki\/International_Press_Telecommunications_Council\" rel=\"noopener noreferrer nofollow\">IPTC<\/a> \u0442\u0435\u0433\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043d\u0430 <strong>Category:<\/strong> \u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u043e\u0436\u0435 \u0431\u0435\u0440\u0451\u0442 \u0438\u0437 \u043c\u0435\u0442\u0430-\u0442\u0435\u0433\u0430<strong>,<\/strong> \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442. One-by-one, \u043d\u0435 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e &#8212; \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0443\u0434\u0430\u0440\u0438\u0442\u044c\u0441\u044f \u0432 \u043b\u0438\u043c\u0438\u0442\u0435\u0440\u044b, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435. \u0415\u0441\u043b\u0438 \u0441\u0442\u043e\u043b\u043a\u043d\u0451\u0442\u0435\u0441\u044c \u0441 \u044d\u0442\u0438\u043c &#8212; \u0443 Wikimedia \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u043f\u0440\u0430\u0432. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u043d\u043e \u0438 \u0431\u0435\u0437 gThumb, \u043b\u0438\u0431\u043e \u0438\u0437 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 &#8212; \u0441\u0442\u0430\u0432\u0438\u0442 \u0432 \u043c\u0435\u0442\u0430-\u0434\u0430\u043d\u043d\u044b\u0435 \u043b\u0438\u043d\u043a, \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0435\u0433 <strong>uploaded<\/strong>, \u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>gThumb, \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0447\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044e. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0441 \u043d\u0443\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0432\u043e\u0451 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u043c\/\u044d\u043a\u0441\u0442\u0435\u043d\u0448\u0435\u043d\u043e\u043c \u0434\u043b\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043d\u0435\u0448\u043d\u044f\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0444\u043e\u0442\u043e\u043a, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438\/\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0430\u043d\u0430\u043b\u0438\u0437, \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u0430-\u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041d\u0430 \u0440\u0430\u0434\u043e\u0441\u0442\u044f\u0445 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u043a, \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 &#8212; <a href=\"https:\/\/gitlab.com\/vitaly-zdanevich\/image-path-to-openstreetmap\" rel=\"noopener noreferrer nofollow\">\u0447\u0438\u0442\u0430\u0435\u0442 GPS \u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 OpenStreetMap\/GoogleMaps\/YandexMaps \u043a\u0430\u0440\u0442\u0443 \u0434\u043b\u044f \u0444\u043e\u0442\u043e<\/a> &#8212; \u043f\u0443\u0442\u0451\u043c \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043b\u0438\u043d\u043a\u0430:<\/p>\n<pre><code>#!\/usr\/bin\/env python3  import sys from fractions import Fraction import webbrowser  import exifread   def convert_to_decimal(coord):     deg = float(coord.values[0])     min = float(coord.values[1]) \/ 60     sec = float(Fraction(coord.values[2])) \/ 3600     return deg + min + sec  with open(sys.argv[1], 'rb') as file_handle:     tags = exifread.process_file(file_handle)     for tag, value in tags.items():         if tag not in ('JPEGThumbnail', 'TIFFThumbnail', 'Filename', 'EXIF MakerNote'):             if tag == 'GPS GPSLatitude':                 lat = value             if tag == 'GPS GPSLongitude':                 lon = value             if tag == 'GPS GPSLatitudeRef':                 lat_ref = str(value)             if tag == 'GPS GPSLongitudeRef':                 lon_ref = str(value)  lat_dec = convert_to_decimal(lat) lon_dec = convert_to_decimal(lon)  if lat_ref in ['S']:     lat_dec = -lat_dec if lon_ref in ['W']:     lon_dec = -lon_dec  if len(sys.argv) &gt; 2:         if sys.argv[2] == 'google':             webbrowser.open(f'https:\/\/www.google.com\/maps?q={lat_dec},{lon_dec}')         else:            webbrowser.open(f'https:\/\/yandex.com\/maps\/?pt={lon_dec},{lat_dec}&amp;z=18') else:     webbrowser.open(f'https:\/\/www.openstreetmap.org\/?mlat={lat_dec}&amp;mlon={lon_dec}&amp;zoom=18') <\/code><\/pre>\n<p>\u041f\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f gThumb, \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u0443\u0439\u0442\u0435 \u0438\u0445 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u044b\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0430\u0445, \u043f\u043e\u043c\u043d\u0438\u0442\u0435 \u043f\u0440\u043e SEO &#8212; \u043f\u0438\u0448\u0438\u0442\u0435 README, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0432 Gitlab\/Github \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0442\u0438. \u041c\u043e\u0436\u0435\u0442\u0435 \u0438 \u043c\u043d\u0435 \u043b\u0438\u0447\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043e \u0432\u0430\u0448\u0435\u043c \u043d\u043e\u0432\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0435, \u044f \u043f\u043e\u0440\u0430\u0434\u0443\u044e\u0441\u044c \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e \u0441\u0435\u0431\u0435 \ud83d\ude42<\/p>\n<p>\u0415\u0449\u0451 \u043e\u0434\u043d\u0430 \u0446\u0435\u043b\u044c \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u043d\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0432\u0430\u043c \u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0438 Wikimedia Commons, \u0433\u0434\u0435 \u0443\u0436\u0435 120 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0434\u0430\u0436\u0435 <a href=\"https:\/\/commons.wikimedia.org\/wiki\/File:0_A.D._cattle_female_a_smooth.stl\" rel=\"noopener noreferrer nofollow\">3D \u043c\u043e\u0434\u0435\u043b\u0438<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0434\u0430 \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u0432\u0430\u0448\u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0435 \u0444\u043e\u0442\u043e, \u0432\u0438\u0434\u0435\u043e (\u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u0435\u043a\u0430\u0445), \u0430\u0443\u0434\u0438\u043e. \u0411\u0435\u0437\u043b\u0438\u043c\u0438\u0442\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u0444\u043e\u0442\u043e, public only, \u0433\u0434\u0435 \u043a\u043e\u043c\u044c\u044e\u043d\u0438\u0442\u0438 \u0431\u0443\u0434\u0435\u0442 \u0431\u0435\u0440\u0435\u0436\u043d\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c \u0432\u0430\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0432\u0430\u0448\u0438 \u043f\u0438\u043a\u0441\u0435\u043b\u0438. \u0410 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0438 \u0431\u0435\u0437 Commons &#8212; \u043e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u0443\u0439\u0442\u0435 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0441\u0432\u043e\u0438 \u0441\u0442\u0430\u0440\u044b\u0435 \u0441\u0435\u043c\u0435\u0439\u043d\u044b\u0435 \u0430\u043b\u044c\u0431\u043e\u043c\u044b, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0440\u043e\u043f\u0430\u043b\u0438.<\/p>\n<p>\u0410 \u0435\u0449\u0451, \u0447\u0435\u043c \u044f \u0438\u043d\u043e\u0433\u0434\u0430 \u0442\u043e\u0436\u0435 \u0432 \u043c\u0435\u0440\u0443 \u0441\u0438\u043b \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c &#8212; \u043f\u0438\u0448\u0443 \u043b\u044e\u0434\u044f\u043c \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043c\u043d\u043e\u0433\u043e \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439, \u0438 \u043f\u0440\u043e\u0448\u0443 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432 Wikimedia Commons, \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c, \u0432\u0435\u0434\u044c \u044f \u0443\u0436\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u043d\u0430\u044e \u043a\u0430\u043a \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u0441\u0430\u0439\u0442\u044b \u0438 \u043b\u0438\u0447\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430, \u0438 \u043b\u044e\u0434\u0438 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u0441\u043c\u0435\u0440\u0442\u043d\u044b. \u042d\u0442\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0438 \u043a \u0432\u0430\u043c &#8212; \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u044b \u0444\u043e\u0442\u043e\u0441\u043d\u0438\u043c\u043a\u043e\u043c, \u0438\u043b\u0438 \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 &#8212; \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043c\u043d\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043b\u0438\u0431\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0430\u043c\u0438 \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u044d\u0442\u0438\u043c \u0430\u0440\u0445\u0438\u0432\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/916780\/\"> https:\/\/habr.com\/ru\/articles\/916780\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-462558","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/462558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=462558"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/462558\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=462558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=462558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=462558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}