User:Cewbot/log/20210901/configuration

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

configuration sample

[edit]
"subpage": ""
The same as NO_SUBPAGE @ User:OgreBot/gallery
"subpage": "/%Y %B"
The same format as User:OgreBot/gallery. e.g., /2021 September
"subpage": "/%Y-%2m"
e.g., /2021-09
"subpage": "/%Y/%m"
e.g., /2021/9
"subpage_with_date": ["/%Y %B %d", "%d"]
[ start date format, end date format ], will combine with "–". e.g., /2021 September 1–10
"subpage_with_date": ["/%Y/%m/%d", "%d"]
[ start date format, end date format ], will combine with "–". e.g., /2021/9/1–10
"exclude_categories": ["Category:...", "Category:..."]
The same as [[subcategoryomittedn]] @ User:OgreBot/gallery
"PATTERN_exclude_categories": "/.../"
Using RegExp pattern
"caption": ""
No SHOW_FILENAME
"gallery_per_month": 1
gallery / galleries per month. 1, 2, 3, or 4. Default: 1 gallery per month.
"gallery_attributes": " mode=\"...\""
Set mode parameter. Also see mw:Help:Images#Optional gallery attributes.
"NOINDEX": true
Set __NOINDEX__
"WARNING": true
Put warning_page (User:Cewbot/log/20210901/notice) to the top of every gallery.

General settings

[edit]
general
Variable name (unchangeable) Value Note
default_options
{
	"subpage": "/%Y/%m",
	"subpage_with_date": ["/%Y/%m/%d", "%d"],
    "gallery_per_month": 1,
    "subcategory_depth": 10,
	"section_title": "{{date|%Y|%2m|%2d}}",
    "cache_expires": "1 year",
    "caption": "${file_link}<br />(${hit_category_link})",
    "warning_page": "User:Cewbot/log/20210901/notice"
}

Subscribers

[edit]
base page title options Note
User:FredD/Echinoderm news
{
	"base_category": "Echinodermata",
	"PATTERN_exclude_categories": "/ in art| as food|Faults in |Geodes in /",
	"gallery_per_month": 2,
	"gallery_attributes": "widths=\"240px\" heights=\"240px\""
}
Commons:Bots/Work requests#Newsfeed of new pictures from a large category