Warning, /documentation/digikam-doc/export_tools/media_wiki.rst is written in an unsupported language. File is not indexed.

0001 .. meta::
0002    :description: digiKam Export to MediaWiki Web-Service
0003    :keywords: digiKam, documentation, user manual, photo management, open source, free, learn, easy, mediawiki, export
0004 
0005 .. metadata-placeholder
0006 
0007    :authors: - digiKam Team
0008 
0009    :license: see Credits and License page for details (https://docs.digikam.org/en/credits_license.html)
0010 
0011 .. _media_wiki:
0012 
0013 Export To MediaWiki
0014 ===================
0015 
0016 .. contents::
0017 
0018 Sharing is caring, and there is probably no better way to share your photographic masterpieces with the world than adding them to a `MediaWiki <https://en.wikipedia.org/wiki/MediaWiki>`_ pool. While the project’s website features its own tool for uploading photos, digiKam’s MediaWiki Export tool can come in rather handy when you need to export multiple photos in one fell swoop without leaving the convenience of your favorite photo management application.
0019 
0020 MediaWiki are the base of `Media Repositories <https://en.wikipedia.org/wiki/Digital_library>`_ available on the Internet where free-to-use images can be uploaded. The goal of these digital libraries is to share contents used across all of the Wikimedia projects as the famous **Wikipedia** encyclopedia for example.
0021 
0022 To upload a selection of images from your collections to a remote MediaWiki server using the Internet, use the :menuselection:`Export --> Export to MediaWiki` menu entry, or the corresponding icon from the **Tools** tab in Right Sidebar. 
0023 
0024 .. figure:: images/export_media_wiki.webp
0025     :alt:
0026     :align: center
0027 
0028     The MediaWiki Export Dialog
0029 
0030 The **Items Properties** tab of the right side allows to customize MediaWiki metadata of each items present from the upload list. Select one item on the left side to see the properties populated by digiKam, and adjust values if necessary. When all is ready, switch to the **Upload Settings** tab to be connected to the remote server and transfer files.
0031 
0032 .. figure:: images/export_media_wiki_login.webp
0033     :alt:
0034     :align: center
0035 
0036     The MediaWiki Export Account Settings
0037 
0038 First, you needs to be connected to the server with an **Account**. From this view, you can select the MediaWiki service to use with the **Login** and **Password** properties. By default, the tool propose a list of popular MediaWiki servers available on the Internet, as:
0039 
0040     - `Wikimedia Commons <https://commons.wikimedia.org/>`_
0041     - `Wikimedia Meta <https://meta.wikimedia.org/>`_
0042     - `Wikipedia <https://en.wikipedia.org/>`_
0043     - `Wikibooks <https://en.wikibooks.org/>`_
0044     - `Wikinews <https://en.wikinews.org/>`_
0045     - `Wikiquote <https://en.wikiquote.org/>`_
0046     - `Wikisource <https://en.wikisource.org/>`_
0047     - `Wiktionary <https://en.wiktionary.org/>`_
0048     - `MediaWiki Organization <https://www.MediaWiki.org/>`_
0049     - `Wikia Foto <https://foto.wikia.com/>`_
0050     - `Wikia Uncyclopedia <https://en.uncyclopedia.co/>`_
0051 
0052 With the **+ NEW** button, you can append on the list a new MediaWiki based server from Internet or on your local network. The tool will shown a widget to customize the **Name** and the **API Url**. Just press on **+ Add** button to confirm values.
0053 
0054 .. figure:: images/export_media_wiki_new.webp
0055     :alt:
0056     :align: center
0057 
0058     The MediaWiki Export View to create a New Server Settings
0059 
0060 When you are connected to the remote Web service with the **Log in** button, the **Account** view must become like this:
0061 
0062 .. figure:: images/export_media_wiki_account.webp
0063     :alt:
0064     :align: center
0065 
0066     The MediaWiki Export Connected to an Account from Wikimedia Commons Web Service
0067 
0068 While transferring the files, you can customize some **Information** used by the MediaWiki server to identify the uploading operation. The fields available are listed below:
0069 
0070     - **Author**: the author name of the contents as text.
0071     - **Source**: the original source of the contents as text.
0072     - **License**: the license of the contents. Use one entry from the list provided by the tool.
0073     - **Generic categories**: The categories that will be added to the contents as text.
0074     - **Generic text**: The text that will be added to the contents below the Information template.
0075     - **Upload comments**: The text that will be used as upload comments. The value *Uploaded via digiKam uploader* will be used if empty.
0076 
0077 .. figure:: images/export_media_wiki_info.webp
0078     :alt:
0079     :align: center
0080 
0081     The MediaWiki Export Information Settings
0082 
0083 During uploading the files, you can also apply some operations listed in **Options** view. If the **Resize photos before uploading** option is selected, the photos will be resized before transferring to MediaWiki. The values will be read from the **Maximum Size** and **JPEG quality** settings, which can be used to adjust the compression and maximum height. The width calculation will be done so as to have the aspect ratio conserved. You can also drop **metadata** and GPS **coordinates** information from the files.
0084 
0085 .. figure:: images/export_media_wiki_options.webp
0086     :alt:
0087     :align: center
0088 
0089     The MediaWiki Export Options Settings
0090 
0091 
0092 Press **Start Upload** button to transfer items. You can click on the **Close** button to abort the uploading of photos.
0093 
0094 .. figure:: images/export_media_wiki_progress.webp
0095     :alt:
0096     :align: center
0097 
0098     The MediaWiki Export Uploading Contents to the Web Service
0099 
0100 Finally, you can view the uploaded photos by visiting the MediaWiki website.
0101 
0102 .. figure:: images/export_media_wiki_stream.webp
0103     :alt:
0104     :align: center
0105 
0106     The Wikimedia Commons Online Account Displaying the Uploaded Contents