ข้ามไปเนื้อหา
เมนูหลัก
เมนูหลัก
ย้ายเมนูไปที่แถบด้านข้าง
ซ่อน
การนำทาง
หน้าหลัก
ปรับปรุงล่าสุด
สุ่มหน้า
ความช่วยเหลือเกี่ยวกับมีเดียวิกิ
หน้าพิเศษ
Wiki
ค้นหา
ค้นหา
หน้าตา
สร้างบัญชี
เข้าสู่ระบบ
เครื่องมือส่วนตัว
ยังไม่ได้เข้าสู่ระบบ
คุย
ส่วนร่วม
สร้างบัญชี
เข้าสู่ระบบ
กำลังแก้ไข
Wiki
:
Wiki-Hierarchy
(ส่วน)
หน้าโครงการ
อภิปราย
ไทย
อ่าน
แก้ไข
ดูประวัติ
เครื่องมือ
เครื่องมือ
ย้ายเมนูไปที่แถบด้านข้าง
ซ่อน
การกระทำ
อ่าน
แก้ไข
ดูประวัติ
ทั่วไป
หน้าที่ลิงก์มา
การเปลี่ยนแปลงที่เกี่ยวโยง
สารสนเทศหน้า
Cargo data
หน้าตา
ย้ายเมนูไปที่แถบด้านข้าง
ซ่อน
คำเตือน:
คุณไม่ได้เข้าสู่ระบบ สาธารณะจะเห็นเลขที่อยู่ไอพีของคุณถ้าคุณแก้ไข หากคุณ
เข้าสู่ระบบ
หรือ
สร้างบัญชี
การแก้ไขของคุณจะถือว่าเป็นของชื่อผู้ใช้ของคุณ พร้อมทั้งอาจได้รับประโยชน์อื่น ๆ ด้วย
การตรวจสอบสแปม
อย่า
กรอกช่องนี้!
= Wiki content hierarchy = '''''Status: draft for review — OPS-1046, 2026-11-06. Not yet enacted.''' '''Quick summary:''' One MediaWiki, three visibility surfaces. Public ''News/'' holds curated articles; protected ''PrivateNews:'' and ''Infrastructure:'' hold in-house content; ''Education:'' (proposed) holds the lesson ledger. Every family uses the same skeleton: tree + page roles + template + leaf rule. == Surfaces == {| class="wikitable" ! Surface !! Hostname !! Audience !! Content |- | Public wiki || wiki.h3.gizmo-thailand.com || anyone || News/ articles only | Private wiki || wiki-internal.surf-thailand.com || in-house group (Tony, Ada; KK/Nhong pending) || PrivateNews:, Infrastructure:, Education: |} == The shared skeleton == Every content family follows the News contract (see [[News/Desks/DevNest/Projects/News-Hierarchy-v1]]): * '''Tree position''' — slash path under the family root decides scope. * '''Page roles''' — ''index'' (hub), ''rollup'' (generated child summary), ''leaf'' (one canonical item), ''correction''. * '''Leaf rule''' — store once at the most specific scope; parents link, never copy. * '''Template''' — machine metadata as template params; categories are secondary nav only. * '''Upsert''' — deterministic title = idempotency key; re-ask edits the same page. == News/ (live) == {| class="wikitable" ! Level !! Pattern !! Example |- | Root || News || [[News]] | World/region || News/World, News/Regions/<nowiki><Region></nowiki> || [[News/Regions/Asia]] | Country || News/Countries/<nowiki><Country></nowiki>/<nowiki><Desk></nowiki> || [[News/Countries/Thailand]] | Local || News/Local/<nowiki><Locality></nowiki> || [[News/Local/Bangkok]] | Desk || News/Desks/<nowiki><Desk></nowiki>/<nowiki><branch></nowiki> || [[News/Desks/DevNest/Projects/News-Hierarchy-v1]] | Leaf || one story_id, one title || [[News/World/AI/Test-Global-Story]] |} Template: <code>แม่แบบ:NewsReport</code> — params: story_id, status, visibility, confidence, summary, desk, geo_scope, country, region, topic, published_at, source_*, parent. == Education: (proposed — in-house gated) == Axes are '''domain + level + series''' (no geography). Level is a param/category, not a tree position. {| class="wikitable" ! Level !! Pattern !! Example |- | Root || Education: || ''(namespace pending — needs LocalSettings/Plesk)'' | Domain || Education:Domains/<nowiki><Domain></nowiki> || ''Education:Domains/Ada-Nest'' | Hub || series root — rollup of its leaves || ''Education:Domains/Ada-Nest/Map'' | Leaf || one lesson, one canonical title || ''Education:Domains/Ada-Nest/Memory-Banks'' | Review || living due-index || ''Education:Due'' |} * The WP lesson series convention maps 1:1: hub lesson (''ada-nest-map'', WP post 1608) becomes the hub page; ''ada-nest-*'' topics become leaves. * ''intro|working|deep'' → template param + <code>Category:Education/Level/<nowiki><level></nowiki></code>. * Template: <code>แม่แบบ:EducationLesson</code> — params: lesson_id (was lesson-<md5> slug), topic, level, source, learned_at, next_review, status, hub, series. * ''Education:Due'' is regenerated by the lessons-due job — replaces WP page ''education-due'' (post 354). * Wikilinks give backlinks/"referenced by" for free; revisions are the audit trail. == Write/read flow == * '''Write:''' lesson-add.py → board-api <code>POST /lesson</code> → sink fan-out (WP CPT during transition, then Education: only). Callers never hold wiki creds. * '''Read:''' Tony via wiki-internal (Cloudflare Access + Google OIDC → in-house group); Ada via the same surface + wiki_read/wiki_search tools. * '''Cutover:''' SEC-1035 boundary verified → register Education: + talk ns, protect to in-house → export WP lesson CPT → 301 wp/lesson/* permalinks → flip /lesson sink → WP CPT read-only archive. == Open questions == * KK/Nhong read path — need member accounts in the in-house group (SEC-1035 maps Tony+Ada only). * Namespace creation needs Plesk/LocalSettings work (same path as PrivateNews:). * Per-lesson private flag for sensitive topics once the boundary is proven.
ความย่อ:
โปรดระลึกว่างานเขียนทั้งหมดใน Wiki อาจถูกผู้เขียนอื่นแก้ไข เปลี่ยนแปลงหรือนำออก หากคุณไม่ต้องการให้งานของคุณถูกแก้ไข ก็อย่าส่งเข้ามา
นอกจากนี้ คุณยังสัญญาเราว่าคุณเขียนงานด้วยตนเอง หรือคัดลอกจากสาธารณสมบัติหรือทรัพยากรเสรีที่คล้ายกัน (ดูรายละเอียดที่
Wiki:ลิขสิทธิ์
)
อย่าส่งงานมีลิขสิทธิ์โดยไม่ได้รับอนุญาต!
ยกเลิก
คำอธิบายการแก้ไข
(เปิดหน้าต่างใหม่)
ค้นหา
ค้นหา
กำลังแก้ไข
Wiki
:
Wiki-Hierarchy
(ส่วน)
เพิ่มหัวข้อ