takenwith

command module
v0.0.0-...-361b123 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 19 Imported by: 0

README

This is a bot for adding camera and scanner categories to image files on Wikimedia Commons. It's run by User:BotAdventures.

It's written in Go and uses go-mwclient to interface with the MediaWiki action API.

The code is nothing special; most of the work is found in the mapping file from Exif fields to Commons categories (catmapping). The first two fields are the device manufacturer and model from Exif. The third field is the Commons category, where "Category:Taken with " is to be prepended in most cases.

Since I doubt that anybody else will want to run this bot, I haven't included much more in the way of documentation.

This package is freely licensed using the MIT License; see file LICENSE for details. I also release the catmapping file to the public domain (in case it's even copyrightable) using Creative Commons Zero.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL