Module:Contentious topics/talk notice/doc

To learn about the template {{Contentious topics/talk notice}}, please see its documentation. This page documents the technical details of the module. There is probably little of interest here unless you are an arbitrator or clerk (or you are curious how things work under the hood!).

Usage

{{#invoke:Contentious topics/talk notice|main}}

Technical details

This module is designed to be extensible without needing to edit the module code. Much of its data come from the following JSON pages:

  • Template:Contentious topics/Additional restrictions.json contains per-topic additional restrictions. The topic-wide restrictions apply whenever the corresponding CTOP code is given and applies to the entire page (i.e. there are no |-section= parameters). If they apply to part of the page, they can be turned off (e.g. |ECR=no).The additional-available restrictions can be passed as parameters (e.g. |ECR=yes), and can be used either when a restriction is added to the topic's standard set or when it applies to all articles within a subtopic of the contentious topic designation.
  • Template:Contentious topics/Restrictions definition.json is the text of the bullet point indicating a restriction is active
  • Template:Contentious topics/Standard set.json is a list of all standard set restrictions
  • Template:Contentious topics/Category database.json is the name of the category added when a restriction is active (without the Category: prefix). The following codes have special meaning:
    • The all category activates for every page tagged with the contentious topic banner
    • The bad-topic category is used whenever a contentious topic code is not found at Template:Contentious topics/list
    • The no-date category is used when there are active, manually-placed restrictions but no |placed-date= is specified
    • The no-topic category is used when no topics are specified
    • The protection-error category is used when |protection=yes, but the page is not actually protected
    • The unknown category is used when unknown parameters are provided

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.