Jump to content

Wikipedia:WPCleanerNG/User page draft

From Wikipedia, the free encyclopedia
icon WPCleaner – 2.05 (August 26, 2022 (2022-08-26)) [±]
icon WPCleaner

General information about WPCleaner

icon Discussion

Discuss the application

icon Typos

Suggestions for spelling and typography

icon FAQ

Frequently asked questions

icon Installation

Install instructions

Bug report or feature request · History of changes · Configuration (help, template) · Wikis · Languages · Users · Screenshots
User page draft action window (further description provided below)
User page draft action window

This is the window to move a user page to a draft sub-page, for example when a user writes an article directly on their user page. It can be triggered from the button in recent changes window. The button is enabled only when the change is on a user page that is not a sub-page.

Action

[edit]

The window is organized in three columns, each one with its options at the top and the current text of the page below:

  • User page:
    • Summary: editable summary to be used when replacing the text on the user page
    • Replacement: text to use when replacing the text on the user page
  • User talk page:
    • Summary: editable summary to be used when editing the text on the user talk page
    • Additional texts: labels of texts that can be added to the user talk page
  • Move to draft:
    • Summary: editable summary to be used when moving the user page
    • Sub-page name: name of the sub-page to which the user page is moved
    • to load the current text of the sub-page (pressing Enter in the sub-page name does the same), useful to check that it doesn't already exist

When clicking on the OK button, WPCleanerNG will:

  • Move the user page to the sub-page, without leaving a redirect and without moving the user talk page
  • Replace all the text on the user page with the provided replacement text
  • Add the selected additional texts to the end of the user talk page

The additional texts for the user talk page can contain the following variables, replaced when the text is added:

  • __USER__: the user name
  • __USER_PAGE__: the user name, with underscores instead of spaces
  • __DRAFT__: the name of the sub-page
  • __DRAFT_PAGE__: the name of the sub-page, with underscores instead of spaces

Configuration

[edit]
User page draft action configuration window (further description provided below)
User page draft action configuration window

Before being able to use this window, you need to configure options for it. The configuration is stored separately for each wiki. The configuration window is triggered by a click on the button when the configuration is missing, or by a right-click on the button:

  • User page:
    • Summary: default summary to be used when replacing the text on the user page
    • Replacement: text to use when replacing the text on the user page
  • Move draft:
    • Summary: default summary to be used when moving the user page
    • Sub-page name: default name of the sub-page to which the user page is moved
  • User talk page:
    • Summary: default summary to be used when adding text on the user talk page
    • Additional texts: possible texts to add on the user talk page, each with a label and the indication of whether it should be used by default
    • to add a text for the user talk page
    • to remove a text previously added
    • , , , to reorder the list of texts