Adiutor/Adapt to local wiki/Localization documentation/Gadget-Adiutor-RPP.json

Introduction edit

This JSON file contains configuration data for the Adiutor tool's Request Page Protection (RPP) process on your wiki. These settings allow you to customize the RPP templates and notifications for requesting page protection on specific pages.

Configuration edit

  • protectionDurations: Defines the available protection durations, including values for temporary and indefinite protection.
    • value: The internal value for the duration.
    • data: The display name for the duration.
    • label: The label displayed for the duration in the RPP interface.
  • protectionTypes: Defines the available protection types, including values for semi-protection and full protection.
    • value: The internal value for the protection type.
    • data: The display name for the protection type.
    • label: The label displayed for the protection type in the RPP interface.
  • noticeBoardTitle: Specifies the title of the noticeboard where page protection requests will be posted.
  • addNewSection: Indicates whether a new section should be created for each page protection request (true or false).
  • sectionTitle: Specifies the title format for new sections, including placeholders like $1 for the page name.
  • appendText: Specifies whether the content should be appended to the existing section (true or false).
  • prependText: Specifies whether the content should be prepended to the existing section (true or false).
  • sectionID: Specifies the section ID for the created section (integer value).
  • contentPattern: Defines the format of the page protection request content. It includes placeholders for $1 (page name), $2 (protection duration), $3 (protection type), and $4 (protection rationale).
  • apiPostSummary: Summary text for creating a page protection request for $1.

Parameters edit

You can utilize the parameters within this file, which include:
  • $1: page name
  • $2: protection duration
  • $3: protection type
  • $4: protection rationale

Note edit

This file allows you to customize and manage the Request Page Protection (RPP) process on your wiki using the Adiutor tool, tailoring it to your specific page protection criteria and workflow.
Please feel free to refer to this documentation when configuring the "Gadget-Adiutor-RPP.json" file on your wiki. If you have any further questions or need assistance with specific settings, don't hesitate to ask.