User:XRayBot

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Operator: XRay
Approved? Approved
Edit rate: up to 8 edits/min
Edit period/s: When XRay is online
Automatic or manual? Manual login, automated editing under supervision
Programming language Perl (with MediaWiki::API)

Main Function[edit]

The bot checks all images by XRay and adds all necessary links, categories and description information like technical information or keywords for this images. The completeness and correctness of information is checked too. It is all the boring work of a user which can be done by a bot. It is a way for nearly consistent description pages of own images.

Additionally data like labels or depicts (structured data) were added to my own images only. The are created based on an algorithm taken categorization, keywords and external configuration data into account.

Missing categories are created too. By own images used categories are slightly optimized.

And very rarely the bot is used in a special way for a single task.

Mode of operation[edit]

How it works: The bot works with different scripts and uses different sources for the necessary information. In addition to manually maintained configuration data, it analyzes categories, Wikidata and Wikibase (SDC), for example. Various values are cached to reduce the frequency of queries. The analyses are often performed with the help of regular expressions. Due to the complexity of the data, incorrect assignments occur from time to time, which are not noticed even during error analysis. Errors that are noticed are corrected as soon as possible.

Structure and formatting tasks are also performed by the bot. These are also influenced by configuration data.