{"id":36646980,"url":"https://github.com/trougnouf/dtmediawiki","last_synced_at":"2026-01-12T10:01:35.331Z","repository":{"id":55425804,"uuid":"147015689","full_name":"trougnouf/dtMediaWiki","owner":"trougnouf","description":"Wikimedia Commons export plugin for darktable","archived":false,"fork":false,"pushed_at":"2025-05-29T15:03:46.000Z","size":89,"stargazers_count":11,"open_issues_count":11,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-29T16:49:16.293Z","etag":null,"topics":["darktable","mediawiki","plugins","wikimedia-commons"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trougnouf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-09-01T16:43:58.000Z","updated_at":"2025-05-29T15:01:45.000Z","dependencies_parsed_at":"2024-05-27T22:32:40.578Z","dependency_job_id":"705552f7-ad7e-4848-a7e0-2988ede18697","html_url":"https://github.com/trougnouf/dtMediaWiki","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/trougnouf/dtMediaWiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2FdtMediaWiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2FdtMediaWiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2FdtMediaWiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2FdtMediaWiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trougnouf","download_url":"https://codeload.github.com/trougnouf/dtMediaWiki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trougnouf%2FdtMediaWiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["darktable","mediawiki","plugins","wikimedia-commons"],"created_at":"2026-01-12T10:01:35.163Z","updated_at":"2026-01-12T10:01:35.323Z","avatar_url":"https://github.com/trougnouf.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dtMediaWiki\n\nWikimedia Commons export plugin for [darktable](https://www.darktable.org/)\n\n![screenshot](https://upload.wikimedia.org/wikipedia/commons/1/16/DtMediaWiki69--preferences-and-categories.png)\n\nSee also: [Commons:DtMediaWiki](https://commons.wikimedia.org/wiki/Commons:DtMediaWiki)\n\n## Dependencies\n\n- [lua-sec](https://luarocks.org/modules/brunoos/luasec)\n  - Lua bindings for OpenSSL library to provide TLS/SSL communication\n- [lua-luajson](https://luarocks.org/modules/harningt/luajson)\n  - JSON parser/encoder for Lua\n- [lua-multipart-post](https://luarocks.org/modules/catwell/multipart-post)\n  - HTTP Multipart Post helper\n\nNote that `mediawikiapi.lua` is independent of darktable.\n\n## Installation\n\n- Download the plugin from [https://github.com/trougnouf/dtMediaWiki/archive/master.zip](https://github.com/trougnouf/dtMediaWiki/archive/master.zip)\n- Create the [darktable plugin directory](https://www.darktable.org/usermanual/en/lua_chapter.html#lua_usage) if it doesn't exist\n  - `# mkdir /usr/share/darktable/lua/contrib`\n- Copy (or link) the dtMediaWiki directory over there\n  - `# cp -r /path/to/dtMediaWiki /usr/share/darktable/lua/contrib`\n- Activate the plugin in your darktable luarc config file by adding `require \"contrib/dtMediaWiki/dtMediaWiki\"`\n  - `$ echo 'require \"contrib/dtMediaWiki/dtMediaWiki\"' \u003e\u003e ~/.config/darktable/luarc`\n\n… or simply use the [Arch Linux package](https://aur.archlinux.org/packages/darktable-plugin-dtmediawiki-git/) or [Gentoo package](https://github.com/gentoo/guru/tree/master/media-plugins/dtmediawiki) and activate the plugin.\n\n## Usage\n\n- Login to Wikimedia Commons by setting your \"Wikimedia username\" and \"Wikimedia password\" in darktable preferences \u003e lua options_ then restarting darktable.\n  - This will add the \"Wikimedia Commons\" entry into target storage.\n- Ensure your image contains the following [metadata](https://docs.darktable.org/usermanual/stable/en/module-reference/utility-modules/shared/metadata-editor/) and [tags](https://docs.darktable.org/usermanual/stable/en/module-reference/utility-modules/shared/tagging/):\n  - **title** and/or **description** – The default output filename is `title (filename) description.ext` or `title (filename).ext` depending on what is available\n  - **rights** – Use something compatible with the [`{{self}}`](https://commons.wikimedia.org/wiki/Template:Self) template, some options are [`cc-by-sa-4.0`](https://commons.wikimedia.org/wiki/Template:Cc-by-sa-4.0), [`cc-by-4.0`](https://commons.wikimedia.org/wiki/Template:Cc-by-4.0), [`GFDL`](https://commons.wikimedia.org/wiki/Template:GFDL), see [Commons:Copyright tags](https://commons.wikimedia.org/wiki/Commons:Copyright_tags)\n  - **tags** – Categories and templates. Any tag that matches `Category:something` will be added as `[[Category:something]]` (no need to include the brackets), likewise any template matching `{{something}}` will be added as-is.\n\nThe image coordinates will be added if they exist, and the creator metadata will be added as `[[User:Wikimedia username|creator]]` if it has been set.\n\n## See also\n\nAll tools for uploading to Wikimedia Commons https://commons.wikimedia.org/wiki/Commons:Upload_tools\n\n## Thanks\n\n- Iulia and Leslie for excellent coworking companionship and love\n- darktable developers for an excellent open-source imaging software with a well documented [Lua API](https://docs.darktable.org/lua/stable/)\n- [LrMediaWiki](https://github.com/Hasenlaeufer/LrMediaWiki) developers [robinkrahl](https://github.com/robinkrahl) and [Hasenlaeufer](https://github.com/Hasenlaeufer) for what inspired this and some base code\n- MediaWiki [User:Platonides](https://www.mediawiki.org/wiki/User:Platonides) for helping me figure out the cookie issue\n- [catwell](https://github.com/catwell): author of lua-multipart-post and a responsive fellow\n- [simon04](https://github.com/simon04): second user and first contributor\n\n![:)](https://upload.wikimedia.org/wikipedia/commons/3/30/Binette-typo.png)\n\n--[Trougnouf](https://commons.wikimedia.org/wiki/User:Trougnouf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrougnouf%2Fdtmediawiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrougnouf%2Fdtmediawiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrougnouf%2Fdtmediawiki/lists"}