User:FinnaUploadBot/autocat

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Add a new FinnaUploadBot automatic categorisation rule Parameters

  1. require_regexp = string which needs to be found on title, summary, keywords or depicted place. Escape | characters using {{!}}
  2. require_subcat = photo needs to be under this categorytree
  3. add_cat = name of the category to be added if the rules matches
  4. add_P180 = add this wikidata-item as images P180 value (not in use yet)

All parameters can be defined multiple times by adding number to the parameter name. (Ie. require_regexp, require_regexp1, require_regexp2, require_regexp3, require_regexp4 ...). Require rules are AND based so all of them needs to be true before category or property value will be added.

Example
{{User:FinnaUploadBot/autocat/template
|require_regexp=[Oo]lympialaituri
|require_subcat=Port_of_Helsinki
|add_cat=Olympia_Terminal
|add_P180=Q7088980
}}

Add new rule

Rules[edit]