From da2d01a5aa873a840ef0bc59dac560aebae89a75 Mon Sep 17 00:00:00 2001 From: Armor00 <2654988228@qq.com> Date: Wed, 15 Jul 2026 18:06:37 +0800 Subject: [PATCH] fix(wiki): restore GHC-05 image lightbox Document the shared Wikipedia-style mission page format and the required Wiki.js script extraction workflow. Co-Authored-By: OpenAI Codex --- .../ghc_mission_wikipedia_format_guide.md | 343 ++++++++++++++++++ .../after_ghc05_open.png | Bin 0 -> 1341020 bytes .../reference_ghc04_open.png | Bin 0 -> 1020332 bytes tests/test_wiki_topology_proxy.py | 10 + 4 files changed, 353 insertions(+) create mode 100644 handover/ghc_mission_wikipedia_format_guide.md create mode 100644 output/playwright/ghc05_lightbox_fix_2026-07-15/after_ghc05_open.png create mode 100644 output/playwright/ghc05_lightbox_fix_2026-07-15/reference_ghc04_open.png diff --git a/handover/ghc_mission_wikipedia_format_guide.md b/handover/ghc_mission_wikipedia_format_guide.md new file mode 100644 index 0000000..4e1daa9 --- /dev/null +++ b/handover/ghc_mission_wikipedia_format_guide.md @@ -0,0 +1,343 @@ +# 广寒任务 Wiki 页面 Wikipedia 化格式规范 + +## 1. 目的与基准 + +本文档用于指导其他团队将广寒计划任务页面统一为当前 GHC-05 的 Wikipedia 风格。 + +- 旧版对照:线上 GHC-04; +- 新版基准:线上 GHC-05; +- 基准源码:`data/wiki/guanghan_ghc05_zh.html`; +- 核对日期:2026-07-15。 + +工作区里的 GHC-04 源文件已经吸收了一部分新版样式,但线上 GHC-04 仍是旧版。本文的页面差异对比以线上实际渲染为准。 + +## 2. 关于图片灯箱的更正 + +GHC-04 的图片灯箱是正确基准,GHC-05 不应重新设计图片打开方式。GHC-05 曾出现“点击图片无反应”,原因不是灯箱 HTML、CSS 或 JavaScript 的设计错误,而是发布时只提取了页面 CSS,没有把正文中的 `