Jump to content

Template:Protected page text

From Wikinews, the free news source you can write!
Why is this page protected? What can I do?
  • Archived Wikinews articles are fully protected, as they are considered snapshots in time, permanent records of history.
  • Published Wikinews articles are usually semi-protected from editing, and fully protected from moving, as they are exported content of the project.
  • While most general-purpose pages can be edited by anyone, sometimes page access needs to be restricted due to vandalism.
  • The reason for protection can be found in the protection log. If there are no relevant entries in the protection log, the page may have been moved after being protected.
  • If you have a user account, log in first. If you do not yet have an account, you may create one; after you've edited a bit and a few days have passed, you will be able to edit semi-protected pages.
  • If you feel an edit is needed to this page, you may wish to start a new thread on the talk page and use {{editprotected}} to request the edit.
[edit] Template documentation

Usage

This template displays text that users see when they're not allowed to operate on a page. It should be called from MediaWiki:Protectedpagetext. Parameters:

  • mode — selects a table containing customizing field values for the display.
  • right — name of right needed for the operation.
  • action — attempted action.

Customizing field values are taken from page Template:Protected page text/lookup/<mode>. If no mode is provided, the page doesn't exist, or a given field isn't specified by the page, the field value is taken instead from Template:Protected page text/lookup/default.

Internals

This template extracts the contents of the mode and default tables via {{Protected page text/get}}, giving those tables access to parameters right and action, and passes the extracted contents of the tables to {{Protected page text/core}}.