fbpx
วิกิพีเดีย

มอดูล:Effective protection level/doc

มอดูลนี้ส่งคืนกลุ่มผู้ใช้ที่สามารถกระทำสิ่งใด ๆ ในหน้าได้ ผลลัพท์ปัจจุบันเป็นดังนี้

  • แม่แบบและมอดูล: autoconfirmed
  • หน้าในเนมสเปซมีเดียวิกิ: sysop
  • หน้าที่เป็นหน้ารองสไตล์ชีตและจาวาสคริปต์ของผู้ใช้: interfaceadmin
  • หน้าที่เป็นหน้ารอง JSON ของผู้ใช้: sysop
  • หน้าที่ถูกป้องกัน: sysop หรือ autoconfirmed
  • หน้าที่ถูกป้องกันแบบต่อเรียง: sysop
  • ชื่อหน้าตรงกับบัญชีดำ: sysop
  • การย้ายไฟล์: uploader หรือ sysop
  • อัปโหลดไฟล์: uploader หรือ sysop
  • อื่น ๆ: * (ทุกคน)

การใช้งาน

ระวัง: มอดูลนี้ใช้งานตัวแจงส่วนที่อาจก่อปัญหาแก่เซิร์ฟเวอร์ถึง 4 ตัวในแต่ละครั้งที่เรียกใช้ โดยจะใช้มอดูลนี้เมื่อจำเป็นเท่านั้น หากไม่จำเป็นขนาดนั้นกรุณาเปลี่ยนไปใช้ title.protectionLevels แทน

จากมอดูลอื่น

ใช้:

local effectiveProtectionLevel = require('Module:Effective protection level')._main 

The function accepts two parameters. The first is a string containing the action to check, which must be one of "edit", "create", "move", "upload", or "autoreview". The second is optional, and can either be the name of the page to check, or a title returned from the mw.title functions. If the second parameter is omitted, the page being displayed is the one checked against. The return value is a string containing the name of the group required to perform the given action.

From wikitext

The parameters are the same as when it is called directly.

แม่แบบ:Tlinv 

See also

มอด, effective, protection, level, อหน, าค, อการใช, งานของ, มอด, effective, protection, levelใช, ในการเข, ยนคำอธ, บายแม, แบบหร, อมอด, ลและใส, หมวดหม, วนล, งก, ามภาษาโปรดใช, สนเทศแม, แบบน, ใช, ในข, อความของระบบ, การเปล, ยนแปลงแม, แบบน, ทำให, เก, ดการเปล, ยนแปลง. nikhuxhnakhumuxkarichngankhxng mxdul Effective protection levelichinkarekhiynkhaxthibayaemaebbhruxmxdulaelaishmwdhmu swnlingkkhamphasaoprdichwikisnethsaemaebbniichinkhxkhwamkhxngrabb karepliynaeplngaemaebbnithaihekidkarepliynaeplngtxswntidtxphuichkhxngwikiphiediyinthnthi ephuxhlikeliyngkhwamphidphlad karthakarepliynaeplngid khwrthdlxnginhnayxy sandbox khxngaemaebbkxn hruxxaccathdlxnginhnayxykhxnghnaphuichkhxngkhun oprdaecnginhnaxphipraykxnthakaraekikhmxdulnisngkhunklumphuichthisamarthkrathasingid inhnaid phllphthpccubnepndngni aemaebbaelamxdul autoconfirmed hnainenmsepsmiediywiki sysop hnathiepnhnarxngsitlchitaelacawaskhriptkhxngphuich interfaceadmin hnathiepnhnarxng JSON khxngphuich sysop hnathithukpxngkn sysop hrux autoconfirmed hnathithukpxngknaebbtxeriyng sysop chuxhnatrngkbbychida sysop karyayifl uploader hrux sysop xpohldifl uploader hrux sysop xun thukkhn enuxha 1 karichngan 1 1 cakmxdulxun 1 2 From wikitext 2 See alsokarichngan aekikhrawng mxdulniichngantwaecngswnthixackxpyhaaekesirfewxrthung 4 twinaetlakhrngthieriykich odycaichmxdulniemuxcaepnethann hakimcaepnkhnadnnkrunaepliynipich title protectionLevels aethn cakmxdulxun aekikh ich local effectiveProtectionLevel require Module Effective protection level main The function accepts two parameters The first is a string containing the action to check which must be one of edit create move upload or autoreview The second is optional and can either be the name of the page to check or a title returned from the mw title functions If the second parameter is omitted the page being displayed is the one checked against The return value is a string containing the name of the group required to perform the given action From wikitext aekikh The parameters are the same as when it is called directly aemaebb TlinvSee also aekikhModule Effective protection expiry ekhathungcak https th wikipedia org w index php title mxdul Effective protection level doc amp oldid 9075478, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

บทความ

, อ่าน, ดาวน์โหลด, ฟรี, ดาวน์โหลดฟรี, mp3, วิดีโอ, mp4, 3gp, jpg, jpeg, gif, png, รูปภาพ, เพลง, เพลง, หนัง, หนังสือ, เกม, เกม