Category:Bots/Pages to move
Appearance
This bot task is not fully performed by an active bot. There is currently none capable of doing it, although a bot may be extended to perform this task regularly sometime in the future. |
Pages in this category were tagged with {{bot move|New title}}. The bot will move the page 24 hours after the last edit to the page.
Bot procedure
[edit]This is a detailed outline of the steps a bot may follow when activated. This section exists to aid in the creation of a script to perform this task.
- Search and verification
- Retrieve the list of pages in Category:Bots/Pages to move.
- Load the first page in the queue.
- Check if {{bot move}} is on the page.
- If it isn't, touch the page and skip to the next page.
- If it is, proceed.
- Check that the template is used correctly (with a valid parameter).
- If not, remove the template and skip to the next page (edit summary: "[bot] removed incorrectly used {{bot move}}").
- If it is, proceed.
- Preparation
- Retrieve the date of the last edit.
- If the last edit is within 24 hours, skip to the next page.
- If not, proceed.
- Retrieve the new page title from the template (regex:
{{bot move\|([^\[\]{}]*)}}
). - Retrieve the old page title.
- Retrieve the date of the last edit.
- Fix other pages
- Check for incoming links.
- If there are incoming links, edit them to point to the new page (edit summary: "[bot] updated links to moved page").
- Names of links should be retained, such that only the part entitled "link" will be modified:
[[link|name]]
or[[link]]
.
- Names of links should be retained, such that only the part entitled "link" will be modified:
- If not, proceed.
- If there are incoming links, edit them to point to the new page (edit summary: "[bot] updated links to moved page").
- Check for interlanguage links.
- If there are interlanguage links, add {{bot fix interwiki links|Old page name}} (append "+ {{bot fix interwiki links}}" to the edit summary).
- If not, proceed.
- Check for incoming links.
- Move page
- Move the page to the new title (edit summary: "[bot] moved page per {{bot move}}").
- Clean up
- Check if the bot has administrator access.
- Remove {{bot move}} from the new page.
- Proceed to the next page.
There are no pages or files in this category.