Manual:Pywikipediabot/commons category redirect.py

From MediaWiki.org
Jump to: navigation, search
Wikimedia-logo-meta.png

This page was moved from MetaWiki.
It probably requires cleanup – please feel free to help out. In addition, some links on the page may be red; respective pages might be found at Meta. Remove this template once cleanup is complete.

Bote Boas Vindas2.png
Pywikipediabot
scripts
Pywikipediabot Overview
Quick Start Guide
Installation
Installation (Mac)
Configuration
user-config.py
Non-Wikimedia wikis
Tutorial
Scripts
Development
Further help

v  d  e

This bot cleans Commons:Category:Non-empty category redirects by moving all the files, pages and categories from redirected category, which were not edited for at least a week, to the target category.

The bot will look for categories that are marked with a category redirect template, take the first parameter of the template as the target of the redirect, and move all pages and subcategories of the category there. Only category pages that haven't been edited for a certain cooldown period (currently 7 days) are taken into account, to prevent edit wars and vandalism.

[edit] Parameters

No bot-specific parameters.

Pywikipedia/Global Options

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox